[osg-users] Display Geotiff image in OSG

Chris Hanson xenon at alphapixel.com
Thu Nov 17 08:16:01 PST 2016

It really sounds like what you're doing is going to require geospatial
integration, and for that, you'd be much further ahead using osgEarth,
which has all sorts of geospatial features built in.

Can you describe the bigger picture of what you're actually trying to
_accomplish_ in the end, so we can make more informed suggestions about

On Thu, Nov 17, 2016 at 5:31 AM, Robert Osfield <robert.osfield at gmail.com>

> On 17 November 2016 at 12:13, Uma Devi Selvaraj <umaselvam1503 at gmail.com>
> wrote:
> > Hi,
> >
> > "osgviewer -e gdal --image "geotiff_file" " using this command I am able
> to display the file. will this command retains geographic information. Is
> this correct command?
> It's fine to use the preload the plugin using the -e extension option.
> but this is just an example application that puts an image on a quad
> to render it, it won't retain anything about the coordinate
> transformation.
> I have just had a quick scan of the GDAL plugin and it doesn't process
> and or pass back the GeoTransform of the loaded GDALDataset so it's
> just the image data that is passed back, the transform it lost.
> Potentially this could be assign as user data to the Image, but this
> will required modifications to the plugin.
> The alternative is to just use GDAL directly.  This is what tools like
> VirtualPlanetBuilder do, VirtualPlanetBuilder builds OSG paged
> databases from geospatial imagery and DEMs.
> Robert.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Chris 'Xenon' Hanson, omo sanza lettere. Xenon at 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
Legal/IP • Code Forensics • Digital Imaging • GIS • GPS •
osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile •
iPhone/iPad/iOS • Android
@alphapixel <https://twitter.com/alphapixel> facebook.com/alphapixel (775)
623-PIXL [7495]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20161117/bd042e3e/attachment-0003.htm>

More information about the osg-users mailing list