Opened 16 years ago
Closed 16 years ago
#2494 closed defect (fixed)
WMS GetLegendGraphic doesn't listen to TRANSPARENT in OUTPUTFORMAT
Reported by: | bartvde | Owned by: | tomkralidis |
---|---|---|---|
Priority: | normal | Milestone: | 5.0.3 release |
Component: | WMS Server | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | nsavard, dmorissette |
Description
Whereas mode=legend does listen to this to determine whether or not the legend should be transparent.
Attachments (2)
Change History (9)
by , 16 years ago
Attachment: | ticket2494.patch added |
---|
follow-up: 4 comment:1 by , 16 years ago
Cc: | added |
---|
Bart: I've added a new patch based on the latest svn trunk (I made a bunch of changes for #2384 last night).
Note that we should probably add msautotest/wxs test cases for this (we have none for GetLegendGraphic). Norm: if you can provide some info on how to add binary outputs for msautotest/wxs, then I can add.
comment:2 by , 16 years ago
Hi Tom, is this something you only want to fix in trunk or also in 5.0.3?
comment:3 by , 16 years ago
Right. Both. I'll wait for someone on mapserverbugs to commit this to both, then I'll work on the msautotest/wxs cases.
comment:4 by , 16 years ago
Replying to tomkralidis:
Bart: I've added a new patch based on the latest svn trunk (I made a bunch of changes for #2384 last night).
Note that we should probably add msautotest/wxs test cases for this (we have none for GetLegendGraphic). Norm: if you can provide some info on how to add binary outputs for msautotest/wxs, then I can add.
Tom:
If you are talking about how to output image than here is an example (tomkworkshop.map). You only have to add RESULT_DEMIME.
# Generate WMS GetLegendGraphic # RUN_PARMS: wms_get_legend_graphic.png [MAPSERV] QUERY_STRING="map=[MAPFILE]&version=1.1.1&service=WMS& request=GetLegendGraphic&layer=rivers&format=image/png" > [RESULT_DEMIME]
comment:5 by , 16 years ago
Owner: | changed from | to
---|
Tom, I reviewed the patch and it seems safe. I'd say go ahead and commit to both trunk and branch-5-0.
comment:6 by , 16 years ago
Cc: | added |
---|
comment:7 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
patch fixing the issue