[mapserver-dev] FW: [MapServer] #3519: map UNITS AUTO from PROJECTION units

Daniel Morissette dmorissette at mapgears.com
Wed Aug 18 11:21:10 EDT 2010


Lime, Steve D (DNR) wrote:
> Seems like a reasonable idea but also one that I would think has been discussed 
> before. Thoughts?
> 

FYI:

PHP MapScript's mapObj.setProjection() already has a second (optional)
argument that can be used to automatically adjust the units and extents
to match the new projection.

The projectionObj also has a getUnits() method in PHP. Not sure if it's
there in the other languages.

-- 
Daniel Morissette
http://www.mapgears.com/


More information about the mapserver-dev mailing list