[mapguide-internals] MapGuide RFC 55 - Switch fromPROJ4toCS-Map coordinate system library

Hugues Wisniewski hugues.wisniewski at autodesk.com
Mon Aug 11 20:10:03 EDT 2008


Hi Jason,

I have executed the tests
Out of the 3217 tested systems using their WKT expressions, 84 of the WKTs generated from those systems failed to be mapped to a CS-Map system
I have posted the results here: http://trac.osgeo.org/mapguide/wiki/PROJ4toCS-MAP
and I added the link to the RFC

Hugues

-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Jason Birch
Sent: Monday, August 11, 2008 12:14 PM
To: MapGuide Internals Mail List
Subject: RE: [mapguide-internals] MapGuide RFC 55 - Switch fromPROJ4toCS-Map coordinate system library

> If I have the list of all the WKTs for all the PROJ4 systems I can do
> it very easily. If you can provide me with that full list of WKTs in a
> text file, I can publish the list of all the systems that CS-Map
> understands and so, the list of the ones that do not pass.

I'm guessing that ConvertCoordinateSystemCodeToWkt is what MapGuide uses to generate the WKT that is stored in the repository.

To get the PROJ.4 WKT stored by MapGuide, can I just run EnumerateCategories then EnumerateCoordinateSystems and ConvertCoordinateSystemCodeToWkt against the current MapGuide Open Source?

If so, the results (pipe-delimited, code|WKT) are available in this
file:

http://www.jasonbirch.com/temp/mgos_coordsys.txt

I've attached the script I used to generate this, which needs to be placed in the mapagent directory to run.

The other alternative (bare metal PROJ.4 APIs) isn't all that approachable for me :)

Jason


More information about the mapguide-internals mailing list