[Gdal-dev] SDTS Multiband Raster Reading Problems

Frank Warmerdam warmerdam at pobox.com
Wed Jan 14 10:11:38 EST 2004


Tim Sutton wrote:
> Hi
> 
> I am trying to implement SDTS format support using gdal. Gdal manages fine for 
> single band datasets such as dem's, but when I try to open multiand imagery 
> data such as:
> 
> http://thor-f5.er.usgs.gov/sdts/datasets/raster/erdas/GainesvilleGA-bedr.sdtsrp.tar.gz
> 
> Gdal errors with:
> 
> ERROR 1: IReadBlock failed at X offset 0, Y offset 184
> ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 184
> ERROR 1: Cell record is not of expected format.  Raster access failed.
> 
> Running gdalinfo on the file shows that gdal thinks it is a single band 
> (instead of 7band) image.
> 
> Is mulitband sdts imagery supported or planned by gdal?

Tim,

I have never encountered a multi-band SDTS product before!  Do you have a
real need for multi-band SDTS support, or are you just trying all the assorted
data products you could find?  If you need it, I could look into implementing
it.  Please submit an enhancement request in Bugzilla.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent





More information about the Gdal-dev mailing list