[mapguide][MG109][Modified] Great Circle buffer returns incorrect results

Traian Stanev traian.stanev at autodesk.com
Tue Mar 14 16:45:59 EST 2006


You can view the artifact detail at the following URL:

    https://mapguide.osgeo.org/servlets/Scarab/id/MG109

Type:
Defect

Artifact ID:
MG109 (Great Circle buffer returns incorrect results)

Modified by:
Traian Stanev
traianstanev (traian.stanev at autodesk.com)

The following modifications were made to this artifact:
---------------------------------------------------------------------

Added following comment to artifact::

Automated Comment.  Version control commit message.

MG109: Great Circle buffer returns incorrect results

Doing a buffer using a great circle based coordinate system measure (like LL84) returns wildly inaccurate results.

Code in GreatCircleBufferUtil::GetOffsetPoint was scaling an offset distance given in VDC coordinates using the map coordinate system unit scale (meters per unit), instead of the VDC scale. Fixed the code to scale offset by the VDC scale.

Modified
File: trunk/MgDev/Common/Service/Geometry/Buffer/FloatTransform.cpp https://mapguide.osgeo.org/source/browse/mapguide/trunk/MgDev/Common/Service/Geometry/Buffer/FloatTransform.cpp?view=diff&rev=307&p1=trunk/MgDev/Common/Service/Geometry/Buffer/FloatTransform.cpp&r1=306&p2=trunk/MgDev/Common/Service/Geometry/Buffer/FloatTransform.cpp&r2=307
File: trunk/MgDev/Common/Service/Geometry/Buffer/FloatTransform.h https://mapguide.osgeo.org/source/browse/mapguide/trunk/MgDev/Common/Service/Geometry/Buffer/FloatTransform.h?view=diff&rev=307&p1=trunk/MgDev/Common/Service/Geometry/Buffer/FloatTransform.h&r1=306&p2=trunk/MgDev/Common/Service/Geometry/Buffer/FloatTransform.h&r2=307
File: trunk/MgDev/Common/Service/Geometry/Buffer/GreatCircleBufferUtil.cpp https://mapguide.osgeo.org/source/browse/mapguide/trunk/MgDev/Common/Service/Geometry/Buffer/GreatCircleBufferUtil.cpp?view=diff&rev=307&p1=trunk/MgDev/Common/Service/Geometry/Buffer/GreatCircleBufferUtil.cpp&r1=306&p2=trunk/MgDev/Common/Service/Geometry/Buffer/GreatCircleBufferUtil.cpp&r2=307



---------------------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Mapguide_issues mailing list