[mapguide-users] Buffers Buffers Anyone notice?

Scott Hameister scotth at mpower-tech.com
Tue Oct 9 17:47:33 EDT 2007


Granted that was A coldfusionized version of the AJAX code..but no changes

 

From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Scott Hameister
Sent: Tuesday, October 09, 2007 4:45 PM
To: 'MapGuide Users Mail List'
Subject: [mapguide-users] Buffers Buffers Anyone notice?

 

Has anyone Noticed That in mapguide Open Source Buffers don't come out
correctly measured, but in Enterprise they Are Fine.

..I thought I had cured everything by going into te AJAX Buffer source code
and changing one line:

<cfset dist = srsDs.ConvertMetersToCoordinateSystemUnits(distance)>

To

<cfset dist =
srsDs.ConvertMetersToCoordinateSystemUnits(distance/srsDs.GetUnitScale())>

 

But then Enterprise Started screwing up buffers.

 

WHAT would be different between Enterprise and open Source to Do this.

Its obviously a Meters foot issue.Is there an INI default to feet in one and
meters in the other?

 

.Looking over the Code Its gotta be in 

 

When I run measure.GetDistance(0,0,1,1) in OpenSource I receive 3.2753716538

When I do the same thing in Enterprise I get 0.99966727859

 

So I know where it starts But why.all the other variables Carry through.

ANYONE

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20071009/d6f4778e/attachment.html


More information about the mapguide-users mailing list