On 06/06/2011 10:41 AM, Torben Dannhauer wrote:
Hi Simon,

of course it would be a (very) dirty hack. The VPB Terrain creation is well 
tested, so my first guess was the problem is the data itself.

Cheers,
Torben

Torben, you were right.

After further investigations I found the real cause of my coordinate offsets. I post my finding as I hope it is useful for other (Swiss) OSG users.

The initial data is stored in CH1903 coordinates. This data is then converted to WGS84. This conversion is an approximation and introduces a spacially varying error in the order of 3 - 5 arc seconds. The details of the conversion can be found in this document:
http://www.swisstopo.admin.ch/internet/swisstopo/en/home/topics/survey/sys/refsys/switzerland.parsysrelated1.37696.downloadList.97912.DownloadFile.tmp/swissprojectionen.pdf

from this page:
http://www.swisstopo.admin.ch/internet/swisstopo/en/home/topics/survey/sys/refsys/projections.html

Now I can fix it properly by adding this error offset to the OSM coordinates.

Thanks again!

Cheers,
Simon
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to