[mapserver-users] reprojecting maximum extent in PHP MapScript

Lime, Steve D (MNIT) Steve.Lime at state.mn.us
Fri Mar 10 10:34:28 PST 2017


Do you have a simple dataset and script that illustrates the problem? --Steve

-----Original Message-----
From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Shorthouse, David
Sent: Friday, March 10, 2017 7:39 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] reprojecting maximum extent in PHP MapScript

I'm trying to project from EPSG:4326 at maximum extent (i.e.
-180,-90,180,90) to another projection like EPSG:54030 (World
Robinson) using PHP MapScript but the resultant extent produced from
setExtent is apparently well outside acceptable values & so no output
is produced. No errors are thrown. If however I adjust the extent to
be ever so slightly smaller in all cardinal directions (eg -179.99999,
-89.99999, 179.99999, 89.99999), then I can use the PHP MapScript
project method on that extent object & produce an output as expected.
Have I missed something?

Thanks,

David
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list