Hi, I don't know what the problem is, could be a bug in GDAL, or a bug on the OSG/VPB side, my guess would be a problem in reading the png image with VPB when it's generating the tiles, VPB uses GDAL when reading imagery and DEMs so even if it looks to be a problem on the VPB side it well be an issue in GDAL libs.
In general I would not recommend using PNG for geospatial work as it doesn't contain the coordinate frames provide by geotiff's, so try .tif it's a much better suited format for terrain generation. Robert. On 12 July 2013 19:28, Djeralfia Mohamed <[email protected]> wrote: > Hello , > I have a problem when using imageOverlay on my earth, > I have a tiff image that I create from it an thumbnail with > gdal_translate: > "gdal_translate.exe -outsize 300 400 -of PNG -ot byte -scale image.tif > thumbnail.png" > > than I load it on the earth and it look correct: > http://forum.osgearth.org/file/n7581916/goodImage.png > > > But when I remove the no_data from the image (png): > "gdal_translate.exe --a_nodata 0 -of PNG -ot byte thumbnail.png > thumbnail_no_data.png" > > it look correct in the Windows viewer, but when I load it, I have a > strange result: http://forum.osgearth.org/file/n7581916/badImage.png > > > CORRECT IMAGE: > http://forum.osgearth.org/file/n7581916/tempView.png > INCORRECT IMAGE: > http://forum.osgearth.org/file/n7581916/tempView_Hide.png > > So what can be the probleme?THANKS. > > _______________________________________________ > 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

