Re: [osg-users] VPB and OpenStreetMap coordinates problem

2011-06-28 Thread Simon Wenner
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

Re: [osg-users] VPB and OpenStreetMap coordinates problem

2011-06-28 Thread Torben Dannhauer
Hi Simon, great to hear that you solved the problem! Thanks for the feedback so otherone's can avoid this pitfall. Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40989#40989 ___

Re: [osg-users] VPB and OpenStreetMap coordinates problem

2011-06-06 Thread Torben Dannhauer
Hi Simon, have you checked that there is no systematic offset in your data? Maybe your procedure is right and the data is wrong... It seems your are labeling only summits, so you could search for local maxima next to your label position to get the real summit. Adding a treshold in that search

Re: [osg-users] VPB and OpenStreetMap coordinates problem

2011-06-06 Thread Simon Wenner
Hi Torben, Thank you for your answer. On 06/06/2011 10:05 AM, Torben Dannhauer wrote: Hi Simon, have you checked that there is no systematic offset in your data? Maybe your procedure is right and the data is wrong... I'm not aware of any offsets in my geotiff data. But maybe the metadata

Re: [osg-users] VPB and OpenStreetMap coordinates problem

2011-06-06 Thread Torben Dannhauer
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 -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40104#40104