Opened 17 months ago

Last modified 17 months ago

#2748 closed enhancement

FIX - WMS GetMap supports BGCOLOR paramter — at Version 1

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 10.2
Component: petascope Version: 10.2
Keywords: Cc: Dimitar Misev
Complexity: Medium

Description (last modified by Bang Pham Huu)

In OGC WMS 1.3.0 test, it contains request which needs to show an image with blue pixels (`0x0000FF) as background for transparent pixels.

Hence, BGCOLOR and optional parameter in WMS GetMap request needs to be supported in petascope for this request.

http://conformance.rasdaman.com/rasdaman/ows?
BgCoLoR=0x0000FF
&StYlEs=&VeRsIoN=1.3.0&BbOx=0,-0.0020,0.0040,0&HeIgHt=100&ReQuEsT=GetMap&WiDtH=200&CrS=CRS:84&FoRmAt=image%2Fpng&LaYeRs=Lakes

NOTE: This BGCOLOR parameter is only applied when TRANSPARENT=FALSE (with TRANSPARENT=TRUE then pixels with null values are transparent as usual) and it will convert output to 3 bands PNG.

Change History (1)

comment:1 by Bang Pham Huu, 17 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.