[mapserver-users] reprojecting maximum extent in PHP MapScript

Shorthouse, David davidpshorthouse at gmail.com
Fri Mar 10 05:39:05 PST 2017


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



More information about the MapServer-users mailing list