Thanks Robert,
I found if I add the args --cs "+proj=latlong +datum=WGS84" I can store
that info per tile. I'll see if that may get results..
Thanks again for your help
Best Regards
Paul
On 04/08/2013 06:35 PM, Robert Osfield wrote:
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]
<mailto:[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
[email protected]
<mailto:[email protected]>
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
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org