I tried this in a different version of OSG (3.0.1, 3.2.1 and so on). I suppose it happens in all versions.
Here are the properties of f32_single_strip.tif file:
gdalinfo f32_single_strip.tif
Driver: GTiff/GeoTIFF
Files: f32_single_strip.tif
Size is 256, 256
Coordinate System is `'
Image Structure Metadata:
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( 0.0, 0.0)
Lower Left ( 0.0, 256.0)
Upper Right ( 256.0, 0.0)
Lower Right ( 256.0, 256.0)
Center ( 128.0, 128.0)
Band 1 Block=256x8 Type=Float32, ColorInterp=Gray
If I execute the next command using GDAL:
gdal_translate -ot Float32 f32_single_strip.tif f32_multi_strip.tif
then there is no reading error in f32_multi_strip.tif file. GDAL writes TIFF as multistrip.
Here are the properties of f32_multi_strip.tif file:
gdalinfo f32_multi_strip.tif
Driver: GTiff/GeoTIFF
Files: f32_multi_strip.tif
Size is 256, 256
Coordinate System is `'
Image Structure Metadata:
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( 0.0, 0.0)
Lower Left ( 0.0, 256.0)
Upper Right ( 256.0, 0.0)
Lower Right ( 256.0, 256.0)
Center ( 128.0, 128.0)
Band 1 Block=256x8 Type=Float32, ColorInterp=Gray
How can I visualize TIFF data using OSG ( single strip 32 float )?
Thank you!
Cheers,
Alexander
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=62809#62809
_______________________________________________
osg-users mailing list
osg-...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
this is file data