[mapserver-users] GetLegendGraphic request using mapscript.OWSRequest()
Ivan Mincik
ivan.mincik at gmail.com
Sun May 13 03:46:39 PDT 2012
Hi,
is it possible to run GetLegendGraphic request using mapscript.OWSRequest() ?
I use following code:
wms = mapscript.mapObj(mapfile)
req = mapscript.OWSRequest()
for k,v in qs.items():
req.setParameter(k, v)
wms.loadOWSParameters(req)
wms.draw()
but it seems, that it always performs GetMap request.
Parameters are:
LAYER polygon
SERVICE WMS
FORMAT image/png
REQUEST GetLegendGraphic
VERSION 1.1.1
MapServer version 6.0.1
Thanks, Ivan
More information about the MapServer-users
mailing list