On Fri, Aug 24, 2012 at 6:56 PM, Michael W. Hall <hal...@att.net> wrote:

> My application uses Qt.  Currently I have it just reading a .ive file
> when it starts.  This .ive was generated from the BMNG.  I would like to
> keep using this for the app, and apply my maps to it.
>

  If you still have the BMNG data around, osgEarth can consume it directly,
and not need your .IVE.

  Alternately, you can feed it a VPB IVE as well. I don't know how well it
can merge terrain from a VPB IVE with additional SRTM data.

I would like to have a menu option to allow users to import maps into
> the application.  Importing the maps would be handled by a "Map Data
> Manager".  This would also allow the user to see the coverage they have
> imported by selecting that type and the Map Data Manager would highlight
> the maptiles in a specified color.
>

  That's all UI that's up to you.


> I have downloaded some SRTM data that is in DTED format.  I would like
> to get this on my .ive earth on the fly.  If some people can point me in
> the right direction on how I can utilize osgEarth to help that would be
> great.  I am looking at the osgEarth Documentation as I type.  Looks
> like more research.
>

http://osgearth.org/wiki/DevelopersGuide

// Add an elevationlayer (SRTM from a local GeoTiff file)
{
    GDALOptions gdal;
    gdal.url() = "c:/data/srtm.tif";
    ElevationLayer* layer = new ElevationLayer( "SRTM", gdal );
    map->addElevationLayer( layer );
}


One of the sample .earth files provided with osgEarth might illustrate this
as well.

-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Digital Imaging • GIS • GPS • Telemetry • Cryptography • Digital Audio •
LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to