MapServer CGI : Url encoding of negative values for mapext parameter ?

Ed McNierney ed at TOPOZONE.COM
Fri Dec 2 10:54:37 EST 2005


Laurent -

Well, as I suspected, your first problem is that you're reversing the min and max X values.  If your minimum longitude is -10 and the maximum is -20 (to the west of -10) you'll get nothing.

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242  

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Laurent Jégou
Sent: Friday, December 02, 2005 10:50 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] MapServer CGI : Url encoding of negative values for mapext parameter ?

Thanks for your answer, Ed, the problem is that i don't know how to write an url with negative values in the extent. No one of these works :

http://localhost/cgi-bin/mapserver.exe?mode=map&map=my_path_to_mapfile.map&mapext=-10+50-20+60
http://localhost/cgi-bin/mapserver.exe?mode=map&map=my_path_to_mapfile.map&mapext=+-10+50+-20+60
http://localhost/cgi-bin/mapserver.exe?mode=map&map=my_path_to_mapfile.map&mapext=-10%2050-20%2060
http://localhost/cgi-bin/mapserver.exe?mode=map&map=my_path_to_mapfile.map&mapext=%20-10%20+50%20-20%20+60

Sorry if it's a trivial problem :-/, i'm always getting this result :

loadForm(): Web application error. Not enough arguments for mapext.

Thanks for your help !

Laurent

--
Laurent Jégou
IGE Cartographe
UTM - Dépt. Géographie
31058 TOULOUSE Cedex 9 - 05.61.50.43.89
http://www.univ-tlse2.fr/geoprdc
http://www.geotests.net/blog



More information about the mapserver-users mailing list