[mapserver-users] Legend CGI request
Pericles S. Nacionales
pnaciona at gis.umn.edu
Tue Dec 18 17:31:07 PST 2001
Trem,
Replace the ampersand characters "&" with normal ampersand "&"--I tried
it on your link and it worked.
http://nccmap-dev.socialchange.net.au/cgi-bin/mapserv?map=mapfiles/ncc.map&m
apext=140.638000+-37.842000+153.962000+-27.857000&mode=legend&mapsize=400+30
0&layer=bush_rem
-Perry
-----Original Message-----
From: owner-mapserver-users at lists [mailto:owner-mapserver-users at lists]On
Behalf Of Trem Stamp
Sent: Tuesday, December 18, 2001 6:52 PM
To: Mapserv Users List
Subject: [mapserver-users] Legend CGI request
All,
In the old mapserv versions, it was possible to use the native mapserv cgi
syntax to retrieve a legend symbol.
I this also the case with mapserv 3.5? The url below is in WMS, but when I
chaange it to make a request in the old format for a legend symbol, the it
doesn't work.
http://nccmap-dev.socialchange.net.au/cgi-bin/mapserv?map=mapfiles/ncc.map&W
MTVER=1.0.0&SRS=EPSG%3A4202&REQUEST=map&FORMAT=GIF&TRANSPARENT=true&EXCEPTIO
NS=INIMAGE&BBOX=150.65,-33.95714285714286,151.477,-33.943285714285715&WIDTH=
400&HEIGHT=400&LAYERS=bush_rem&STYLES=
When I change syntax to request a legend symbol, then I get an error:
http://nccmap-dev.socialchange.net.au/cgi-bin/mapserv?map=mapfiles/ncc.map&m
apext=140.638000+-37.842000+153.962000+-27.857000&mode=legend&&m
apsize=400+300&layer=bush_rem
Can someone tell me if this should work, and if not then what the syntax
would be?
Cheers,
Trem
More information about the MapServer-users
mailing list