[mapguide-trac] #42: Sheboygan Districts layer is displaced
MapGuide Open Source
trac_mapguide at osgeo.org
Tue Apr 10 11:20:46 EDT 2007
#42: Sheboygan Districts layer is displaced
----------------------------+-----------------------------------------------
Reporter: waltweltonlair | Owner:
Type: defect | Status: new
Priority: high | Milestone: 1.2
Component: General | Version: 1.2.0
Severity: major | Resolution:
Keywords: | External_id:
----------------------------+-----------------------------------------------
Comment (by waltweltonlair):
The problem involves the coordinate system for the Districts layer.
Here's the WKT I get for this layer (as computed in
MgStylizationUtil::!GetLayerToMapTransform):
GEOGCS["LL84",DATUM["WGS 84",SPHEROID["WGS
84",6378137,0],TOWGS84[0,0,0,0,0,0,0]],PRIMEM["Greenwich",0],UNIT["Degrees",0.01745329252]]
For the !CityLimits layer (and for the map as a whole) the coordinate
system WKT is:
GEOGCS["WGS84 Lat/Long's, Degrees, -180 ==>
+180",DATUM["D_WGS_1984",SPHEROID["World_Geodetic_System_of_1984",6378137,298.257222932867]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]
The main difference that caught my eye was the SPHEROID y-value. For the
Districts layer it's 0, while for the other WKT it's 298.2... Isn't this
some kind of a datum shift?
I know some bugs were fixed around datums not too long ago. Maybe the WKT
for the Districts layer has been invalid all ths time, and this problem
only showed up recently?
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/42#comment:1>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list