[mapguide-users] Buffers Buffers Anyone notice?

Rock Beans rockbeans at gmail.com
Thu Oct 18 10:57:27 EDT 2007


I am still seeing different buffer sized from the viewer based on OS and
Enterprise versions of Map Guide Server as well. Was there ever a reason for
this?

The Rock

Quote of the day: Programmers can always become Network Technicians but
Network Technicians become Geek Squad Employees... Why?




On 10/9/07, Scott Hameister <scotth at mpower-tech.com> wrote:
>
>  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
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20071018/0641fe90/attachment.html


More information about the mapguide-users mailing list