Opened 10 years ago

Closed 5 years ago

#5621 closed defect (wontfix)

georaster - mask band error

Reported by: ilucena Owned by: ilucena
Priority: normal Milestone: closed_because_of_github_migration
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords: georaster, oracle
Cc:

Description

The way GeoRaster stores Bitmap Mask is similar in concept with GDAL Mask Band but not quite the same. The GeoRaster bitmap mask are stored as 1 bit per pixel and a GeoRaster could have one bitmap mask for all bands or one for each band.

The mapping between GeoRaster bitmap mask to GDAL mask band could be revised. But in the meantime there is a crash every time GDAL tries to read a GeoRaster with bitmap mask.

Warning 1: BLOB size (8192) is smaller than expected (196608) !
Warning 1: BLOB size (8192) is smaller than expected (196608) !
Warning 1: BLOB size (8192) is smaller than expected (196608) !
Warning 1: BLOB size (8192) is smaller than expected (196608) !
...10...20...30...40...50...60...70...80...90...100 - done.

It seems like the driver is trying to read a Raster Band BLOB from a Bitmap Mask BLOB, since 8192 * 8 * 3 is equal 196608.

Change History (2)

comment:1 by Even Rouault, 9 years ago

Milestone: 1.11.1

comment:2 by Even Rouault, 5 years ago

Milestone: closed_because_of_github_migration
Resolution: wontfix
Status: newclosed

This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.

Note: See TracTickets for help on using tickets.