Hi Paul,

I haven't ever tried to work out the lat/long extents of tiles of an built
paged database, and while VirtualPlanetBuilder (VPB) obviously computes
these extents they aren't stored explictly with the osgTerrain tiles.
However, with an osgTerrain::TerrainTile based database (which is now the
default one generated by VPB) the TileLocator (attached to the TerrainTile)
provides the details of how it converts the local normalized units (0 to 1
range across the tile) into final coordinate frame so it'd effectively
provide the means for computing this extents so have a look at it.

Robert.



On 8 April 2013 00:50, Paul Pocock <[email protected]> wrote:

> Hi all, I was wondering what would be the best way to get the lat/lon
> extents of subtiles in Virtualplanetbuilder?  I have a geocentric database
> and want to read the upper left and lower right lat/lon of the highest LOD
> tiles in the quadtree. Would I need to use the CoordinateSystemNode in some
> way?
>
> Best Regards
>
> Paul
> ______________________________**_________________
> osg-users mailing list
> osg-users@lists.**openscenegraph.org <[email protected]>
> http://lists.openscenegraph.**org/listinfo.cgi/osg-users-**
> openscenegraph.org<http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to