[mapguide-users] EPSG:3857 Changes

Jackie Ng jumpinjackie at gmail.com
Fri Oct 13 08:44:29 PDT 2017


The asc files mentioned in that changeset are basically the "source code" of
the coordinate system definitions which need to be "compiled" to their
binary .csd equivalents using the CS_Comp.exe compiler tool. This tool is
not bundled with MGOS, so you have to build the tool and dictionaries
yourself from source.

If you have access to the MSVC compiler (you can use the free Visual Studio
2015 community edition, or VS2017 community edition with C++ workloads and
VC140 toolset installed)

Checkout a copy MGOS 3.1 (branches/3.1/MgDev) with Subversion

Go to MgDev\Oem\CsMap\Dictionaries and make the required changes to
coordsys.asc and ellipsoid.asc

coordsys.asc:
https://trac.osgeo.org/csmap/changeset/2753/trunk/CsMapDev/Dictionaries/coordsys.asc
ellipsoid.asc:
https://trac.osgeo.org/csmap/changeset/2753/trunk/CsMapDev/Dictionaries/elipsoid.asc

Go to MgDev\Oem\CsMap\VC140 and open OpenSource.sln in Visual Studio.

Build the solution, which will build and run the compiler that should then
generate updated Coordsys.CSD and Ellipsoid.CSD files in
MgDev\Oem\CsMap\Dictionaries

Copy these updated files over to the CS-Map dictionaries dir of your MGOS
install and overwrite the existing files.

Then restart your MapGuide Server and it should pick up the updated
WGS84.PseudoMercator definition.

Hope that helps.

- Jackie





--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html


More information about the mapguide-users mailing list