[fusion-dev] A defect in ViewOptions widget?

Arthur Liu arthur.liu at autodesk.com
Fri Aug 5 04:22:18 EDT 2011


Hi experts,

I meet a strange problem on commercial layer based map, and I think this might be a defect in ViewOptions widget.  I would like to know if there's anyone else who ever met similar issues before.

The map I used  is defined in Google Mercator(EPSG:900913) and it works fine when I use the default unit(meter) ViewOptions.
However, when I change the unit to "degree" in ViewOptions, the displayed value from the CursorPosition is not correct anymore.
The expected value should be (-119.9707, 40.0646), but the value I get is (-120.7833,44.0925). The longitude value is acceptable while the latitude value is far from the correct value.

In ViewOptions widget, it simply does an unit conversion regardless which coordinate system is being used. It just times 0.000009044(degrees per meter pre-defined in fusion.js) based on my original position value to get the result.  I have little experience about coordinate system, but it seems that EPSG:900913 is flatter than other WGS84 coordinate systems. Is it the cause of this issue?  Is it needed for ViewOptions to enhance its function?

Regards,
Arthur


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fusion-dev/attachments/20110805/33dd7b30/attachment.html


More information about the fusion-dev mailing list