Given map extent is invalid

Frank Warmerdam fwarmerdam at GMAIL.COM
Fri Dec 3 17:11:29 PST 2004


On Fri, 3 Dec 2004 16:15:40 -0600, Dan Liu <dan.liu at state.mn.us> wrote:
>
>
>
> Hi,
>
> PHP mapscript application which worked in mapserv 4.2.5 now gives the error
> 'Given map extent is invalid.' after function 'ms_newMapObj()' is called.
> The extent is
>
> EXTENT 118109 5269319 792271 4997508
>
 > Does anybody know want is wrong? Any help is appreciated.

Dan,

The arguments to EXTENT are xmin, ymin, xmax, ymax.
But your "ymax" value is smaller than your "ymin" value.
MapServer 4.4 does more extent validation then used to be done.

Best regards,


--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the MapServer-users mailing list