[MetaCRS] RE: EPSG Code to Coordinate System

Hugues Wisniewski hugues.wisniewski at autodesk.com
Tue Jan 25 19:22:43 EST 2011


Hello Chris,

For this kind of activity an example is always welcome ;-) and here's how it's done in the MapGuide API for future reference

The method is CCoordinateSystemFormatConverter::CodeToCode in the file:


http://svn.osgeo.org/mapguide/trunk/MgDev/Common/CoordinateSystem/CoordSysFormatConverter.cpp

The Cs-Map API being used is CSepsg2adskCS.
And if EPSG is the target CSadsk2epsgCS is the one.
CS_epsg2msi sounds like a dead prototype that would have to be removed from Cs-Map
Feel free to create a ticket for that and it will be taken care of

Thanks

Hugues

From: metacrs-bounces at lists.osgeo.org [mailto:metacrs-bounces at lists.osgeo.org] On Behalf Of Chris Gibson
Sent: Tuesday, January 25, 2011 3:33 PM
To: metacrs at lists.osgeo.org
Subject: [MetaCRS] EPSG Code to Coordinate System

I have a need to convert an EPSG code to the Coordinate System descriptor. I thought the function CS_epsg2msi would do what I want, this is in the header file, but no function exists in the source code, so I get an unresolved external.

Am I missing something?

What should I be using?

Thanks
Chris Gibson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/metacrs/attachments/20110126/1838df70/attachment.html


More information about the MetaCRS mailing list