Ticket #2528 (closed defect: fixed)
nodata masks fail for negative nodata values on int16 and int32 bands.
| Reported by: | warmerdam | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5.3 |
| Component: | GDAL_Raster | Version: | 1.5.0 |
| Severity: | normal | Keywords: | mask |
| Cc: |
Description
The !GDALNoDataBand class does not properly handle signed integer bands with negative nodata values because GDALNoDataMaskBand::IReadBlock() uses an UInt32 working buffer, and all negative values are truncated to zero when data is read into the buffers.
Change History
Note: See
TracTickets for help on using
tickets.
