[mapguide-users] Fusion vs Basic web layouts using Sheboygan samples report very different co-ordinates

zspitzer zac.spitzer at gmail.com
Sat Apr 12 01:16:22 EDT 2008


I think it might be a problem in the OL code,

I have attached the OL mapguide sample, tweaked to have both maps use the
Sheboygan
sample and the same error is showing 
http://www.nabble.com/file/p16645659/mapguide.html mapguide.html 




Mike Adair wrote:
> 
> No this is a Fusion only thing.  OL is reporting the correct location, 
> some of the Fusion constants used to calculate the coordinates in other 
> units are incorrect/inconsistent.  I'm actually in the process of 
> changing that over to just use the OL MousePosition control.
> 
> Mike
> 
> Zac Spitzer wrote:
>> and this also affects openlayers trunk?
>>
>> On Tue, Apr 1, 2008 at 2:05 AM, Mike Adair <madair at dmsolutions.ca> wrote:
>>   
>>> I can confirm that this is indeed a Fusion issue.  Internally, Fusion is
>>>  using a different value for 'metersPerUnit' that what is returned by
>>> the
>>>  mapguide server.  Look for this to be resolved soon in SVN.  The
>>>  geography of the underlying map is correct however.
>>>
>>>  Mike
>>>
>>>
>>>
>>>  Zac Spitzer wrote:
>>>  > I have been having issues with getting the an openlayers tiled
>>>  > mapDefinition to match
>>>  > up with some markers coming out of the database.
>>>  >
>>>  > So in classic, take a step back and try and solve the problem I just
>>>  > did a quick test using
>>>  > Mapguide studio 2009 with the Sheboygan samples, and i have found
>>> what
>>>  > appears to be a
>>>  > serious discrepancy between the co-ordinates being reported (and
>>> used?)
>>>  >
>>>  > Open a flexible web layout and a basic web layout from the Sheboygan
>>> samples.
>>>  >
>>>  > Zoom into district 8 and note the co-ordinates for the intersection
>>> of
>>>  > N 3rd St & Parks street
>>>  >
>>>  > The Flexible Layout reports (x: -88.2986, y: 44.062)
>>>  > The Basic Layout reports (x: -87.704540 y:43.765598)
>>>  >
>>>  > Google agrees with the basic layout co-ordinates
>>>  >
>>> http://maps.google.com.au/maps?f=q&hl=en&geocode=&q=Sheboygan+&ie=UTF8&ll=43.765636,-87.704528&spn=0.002677,0.007167&z=18&iwloc=addr
>>>  >
>>>  > Is there a reason behind this?
>>>  >
>>>  >
>>>  >
>>>
>>>
>>> _______________________________________________
>>>  mapguide-users mailing list
>>>  mapguide-users at lists.osgeo.org
>>>  http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>
>>>     
>>
>>
>>
>>   
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://www.nabble.com/Fusion-vs-Basic-web-layouts-using-Sheboygan-samples-report-very-different-co-ordinates-tp16393753s16610p16645659.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list