On 11/18/2011 9:23 AM, Ethan Fahy wrote:
> I think I may have to somehow use the Matrix in the CoordinateSystemNode to 
> get out the global xyz values from the vertex coordinates, then convert the 
> global coordinates to lat lon using  
> osg::EllipsoidModel::convertXYZToLatLongHeight   
> Is this the correct method?  Am I missing something that would make this 
> process easier/more efficient?  Thanks much.

  I think you're on the right track. See:

http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a01555.html#de8c48a2ff8f03b62cfab99b6ff5b27e

and then you can use that with convertXYZToLatLongHeight.

-- 
Chris 'Xenon' Hanson, omo sanza lettere. [email protected] 
http://www.alphapixel.com/
  Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. 
Contracting.
    "There is no Truth. There is only Perception. To Perceive is to Exist." - 
Xen
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to