Getting multiple GetLegendGraphic layers
James Net
james_marsnett at HOTMAIL.COM
Tue Jan 24 15:34:41 PST 2006
Hi list,
I was wondering how to request more than a single layer when requesting a
Legend graphic?
For example,
http://my_server/cgi-bin/mapserv?map=my_map.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&LAYER=water_line&FORMAT=image/png
would return the key/legend for the water_line layer.
How do I request and return more than one layer's key/legend on the same
generated image?
For example,
http://my_server/cgi-bin/mapserv?map=my_map.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&LAYER=water_line,
water_point, water_polygon&FORMAT=image/png
Can it be done?
Also, the layers "water_line", "water_point" and "water_polygon" all belong
to the same group named "water".
I would do this:
http://my_server/cgi-bin/mapserv?map=my_map.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&LAYER=water&FORMAT=image/png
but it seems to fail.
Can it be done at all?
Thanks in advance!
_________________________________________________________________
Get FOXTEL this Summer New low install price of only $29.95
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fadsfac%2Enet%2Flink%2Easp%3Fcc%3DFXT018%2E19119%2E0%26clk%3D1%26creativeID%3D28172&_t=752582449&_m=EXT
More information about the MapServer-users
mailing list