[glideplan_swproj] Re: [glideplan_swproj] Re: Line drawing

  • From: Tomáš Zámečník <pulcik@xxxxxxxx>
  • To: glideplan_swproj@xxxxxxxxxxxxx
  • Date: Tue, 24 Apr 2012 09:47:17 +0200 (CEST)

I don't know how to compute distance on WGS84, maybe there are some routines in 
osg/osgEarth.
Have you any idea?
Maybe it would be sufficient to subdivide the line with 
osgEarth::Symbology::MeshSubdivider to some level (subdivision
step is defined with radians) and somehow take the data from it.

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:
http://www.freelists.org/list/glideplan_swproj

Other related posts: