[mapguide-users] Scribble Coordinate System
Steve G
steve.golden at morganhill.ca.gov
Thu Feb 12 12:33:51 EST 2009
I am trying to use the Scribble tool from the Code Samples:
http://trac.osgeo.org/mapguide/wiki/CodeSamples/ASP.Net/ScribbleApp
I've downloaded and successfully installed the tool and it seems to work
relatively well with data and maps that are in LL84. However, my data and
maps are in State Plane California Zone 3 ft projection. If I use the tool
with maps that are in that projection, anything that I digitize is not
placed in the correct place in the map window.
I've looked into the scribblemethodsmgr.cs file and see where the target
coordinate system is being defined:
public static string FL83_EF =
"PROJCS[\"FL83-EF\",GEOGCS[\"LL83\",DATUM[\"NAD83\",SPHEROID[\"GRS1980\",6378137.000,298.25722210]],PRIMEM[\"Greenwich\",0],UNIT[\"Degree\",0.017453292519943295]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"false_easting\",656166.667],PARAMETER[\"false_northing\",0.000],PARAMETER[\"scale_factor\",0.999941176471],PARAMETER[\"central_meridian\",-81.00000000000000],PARAMETER[\"latitude_of_origin\",24.33333333333333],UNIT[\"Foot_US\",0.30480060960122]]";
So I tried to copy the WKT for California State Plane Zone 3 ft and replace
FL83_EF, but when I used the tool, it gave me an error. I noticed that the
WKT didn't have the "\" symbols as above. I would only imagine that typical
WKT doesn't go here? Can someone help me? Sorry for my ignorance...
--
View this message in context: http://n2.nabble.com/Scribble-Coordinate-System-tp2316275p2316275.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list