[mapguide-users] API Change in MG 2.4?

GordonL gordon.luckett at arrowgeomatics.com
Wed Aug 22 11:29:49 PDT 2012


Ah, solved it:  There is a coordinate system definition change in MGOS 2.4
from MGOS 2.2 for the LL84 system.

So if you want to use the Markup code you will have to change the
markupmanager.php in the classes folder.

Change line 7 from:
const LL84WKT = 'GEOGCS["LL84",DATUM["WGS_1984",SPHEROID["WGS
84",6378137,298.25722293287],TOWGS84[0,0,0,0,0,0,0]],PRIMEM["Greenwich",0],UNIT["Degrees",1]]';

to:

*const LL84WKT =
'GEOGCS["LL84",DATUM["WGS84",SPHEROID["WGS84",6378137.000,298.25722293]],PRIMEM["Greenwich",0],UNIT["Degree",0.01745329251994]]';*

Which is how MGOS 2.4 defines LL84

gordon




--
View this message in context: http://osgeo-org.1560.n6.nabble.com/API-Change-in-MG-2-4-tp4996684p4997139.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list