[mapguide-users] RE: Measuring distances mismatch
Mike Adair
madair at dmsolutions.ca
Thu May 20 10:04:18 EDT 2010
And are you specifying the projection details in the
ApplicationDefinition.xml file?
I thought we had a wiki page for it but I can't find it at the moment
but for projections other than EPSG:4326, you need to specify the
projection details in a <ProjectionDef> element inside the
<Map><Extension> element. like this (the example is an LCC projection):
<ProjectionDef>+title=LCC +proj=lcc +lat_1=49 +lat_2=77 +lat_0=49
+lon_0=-95 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m
+no_defs</ProjectionDef>
The string that goes in there is the PROJ.4 initialization string that
Proj4js can parse. Proj4js can't parse the WKT that MapGuide uses at
the moment. The assumption of an EPSG:4326 projection is in OpenLayers,
so unless you tell it otherwise, you will get EPGS:4326.
Mike
Berdel, Brian wrote:
> I had this problem in previous versions of fusion with 2.1, but the current SVN has resolved it for me. I don't recall fixing anything else...
>
> Brian
>
> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jose Cerrejon
> Sent: Thursday, May 20, 2010 6:18 AM
> To: mapguide-users at lists.osgeo.org
> Subject: [mapguide-users] RE: Measuring distances mismatch
>
>
> Maybe we need to create a ticket for this one. I read many people have the
> same problem
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Measuring-distances-mismatch-tp5074175p5079001.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
> Important notice to recipients:
> Copies of documents that may be relied upon by you are limited to the printed copies (also known as 'hard copies') that are signed and sealed by the Engineer and/or Land Surveyor. Files in electronic formats, or other types of information furnished by the Engineer and/or Land Surveyor to you such as text, data or graphics are for your convenience only. Any conclusions or information obtained or derived from such electronic files will be at the user's sole risk. When transferring documents in electronic formats, the Engineer and/or Land Surveyor makes no representation as to long-term compatibility, usability, or readability of the documents resulting from the use of software application packages, operating systems or computer hardware differing from those used by McMahon Associates, Inc. at the beginning of the project.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
--
Michael Adair
Senior Software Architect
DM Solutions Group Inc.
Office: (613) 565-5056 x26
madair at dmsolutions.ca
http://www.dmsolutions.ca
http://research.dmsolutions.ca
More information about the mapguide-users
mailing list