Once Mentor is open sourced you will be able to use the MapGuide API directly to add/modify/delete coordinate system definitions. The API is already in open source 2.0 right now it is just not hooked up to PROJ4.
Bruce -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Morsell Sent: Friday, December 14, 2007 9:52 AM To: 'MapGuide Users Mail List' Subject: RE: [mapguide-users] Adding a Coordinate System to MGE/MGOS If anyone has any insight into how this might be done using MGOS with the PROJ4 libraries, I would be interested in any details. I had a recent inquiry from someone needing to build a coordinate system definition on the fly and then use that as the basis for a coordinate transformation. This would be a regular operation in their application. And, once the Mentor libraries are officially open source as Autodesk has announced they will be and slated for inclusion in MGOS 2.1, how will new definitions be added? Obviously the constraint of having to use Autodesk Map and the old update procedure is not going to be viable. Perhaps we will need RFC's for API methods for adding, changing and deleting coordinate system definitions. Thanks. Andy Morsell, P.E. Spatial Integrators, Inc. http://www.SpatialGIS.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maksim Sestic Sent: Friday, December 14, 2007 1:24 AM To: [email protected] Subject: RE: [mapguide-users] Adding a Coordinate System to MGE/MGOS Hi Bruce, I was hoping that MG had some mistery :-) mechanism of adding new CRSs to it's common definitions. So, I guess the only procedure to add new CRS to MG goes like: 1) On a client machine, run Map 3D and add new CRS (Map -> Tools -> Define Global Coordinate System...) 2) Open folder ...\Program Files\Common Files\Autodesk Shared\GIS\CoordSys to see definition files 3) On MG server machine, open folder ...\Program Files\Autodesk\MapGuideEnterprise2008\Server 4) Run csupdate.exe 5) Source folder = the one described in step 2) 6) Destination folder = ...\Program Files\Common Files\Autodesk Shared\GIS\CoordSys on MG server I just need to check out if MG Studio shares common CRS definitions with Map (I guess it does), and if it sees a newly added one when creating a new MapDefinition. That's how it should work for the MGE. I don't know if Mentor and Proj4 share common CRS/Datum/etc. definition files (for this to work on MGOS). BTW, I have no idea why Map and some other GIS applications use obscure formats for persisting coordinate system related data. Isn't XML on OGC standards enough? Is there something to hide? :-) I guess not ( http://www.epsg.org/CurrentDB.html EPSG Geodetic Parameter Dataset ). Regards, Maksim Sestic Bruce Dechant wrote: > > MGE keeps the coordinate system definitions inside the installed > Mentor dictionary files which is not stored as OGC WKT. > Map is typically the tool used to add new coordinate systems to Mentor > dictionary files. > > MGOS uses PROJ4 and I'm not familiar with adding new coordinate > systems to it. However, it is open source so you have full access to > it for modifying. > > MapGuide Studio cannot add new coordinate systems to either MGOS or MGE. > > Bruce > -- View this message in context: http://www.nabble.com/Adding-a-Coordinate-System-to-MGE-MGOS-tp14316325s1661 0p14332372.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
