[mapserver-users] reprojecting maximum extent in PHP MapScript

Shorthouse, David davidpshorthouse at gmail.com
Fri Mar 10 11:34:20 PST 2017


Steve -

Have a look at this extremely basic illustration:
https://gist.github.com/dshorthouse/1dc43361902ebe4655f883e0040efc02

David

On Fri, Mar 10, 2017 at 1:34 PM, Lime, Steve D (MNIT)
<Steve.Lime at state.mn.us> wrote:
> 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