25000km is nonsense, but try to use great circle distance. I compared task lengths from our competition with lengths measured by Updraft and they are slightly different (on 150km it differs +/- 5kms). Compare measurements from cpska.cz, mapy.cz and Updraft whether they are same. T. > ------------ Původní zpráva ------------ > Od: Kuba Marek <blue.cube@xxxxxxxxx> > Předmět: [glideplan_swproj] Re: Line drawing > Datum: 24.4.2012 00:36:21 > ---------------------------------------- > Is there any realistic chance someone is going to use tasks this large? > Because if there is, then I need to fix calculations of task distance > (now it uses euclidean distance in XYZ, it would probably be better to > use great circle distance) > > K > > > I found an easy way how to draw lines on the earth surface. > > It can be done with osgEarth::Symbology::MeshSubdivider, which > > subdivides (any?) geometry according to ellipsoid surface. It's very > > easy to use - just call one method on your geometry and specify > > wheter you want to interpolate according to great circle or not. ...I > > send screenshot (in attachment) of declaration of 25000km FAI > > triangle :-) > > > > T. > > > To visit archive or unsubscribe, follow: //www.freelists.org/list/glideplan_swproj