On 17 November 2016 at 12:13, Uma Devi Selvaraj <[email protected]> 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 [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

