Hello,
I am trying to find a way to integrate a non-standardized projected coordinate system into AutoCAD Map 3D. The non-standardized projection has been implemented in C++. The implementation does already provide functions for the conversion from (X, Y) to (Lon, Lat) coordinates. The Geospatial Platform API looks promising, but it's unclear for me, if it is possible to implement new projections.
I have already figured out how to change the coordinate system of a map.
The following C# code did the job for me:
AcMapMap currentMap = AcMapMap.GetCurrentMap();
MgCoordinateSystemFactory factory = new MgCoordinateSystemFactory();
MgCoordianteSystem coord_system = factory.CreateFromCode("LL");
currentMap.SetCoordinateSystem(coord_system);
Would it be possible to add a new projected coordinate system by generating a subclass of MgCoordianteSystem? If so, can this class be added to the list of known coordinate systems?
Best regards,
Andreas