Saga binary grid driver seems to ignore specified nodata values
|Reported by:||Alister||Owned by:||warmerdam|
|Severity:||normal||Keywords:||sdat sgrd SAGA|
I am on Windows (OWGeo4W).
When I create a Saga binary grid using the gdal command line tools (e.g. gdalwarp and gdal_translate), the -a_nodata option is ignored. It seems like there are default nodata values which are always used for a given band data type.
e.g. when creating an Int16 grid, the nodata value is always set to -32767, which is particularly strange when I am creating it by translating from a file with a nodata value of -32768, as the values in the image stay at -32768, but the nodata value is set to -32767 ;) When creating a UInt16 grid, the nodata value is always set to 65535.
Is there something I'm missing here? Does Saga binary grid (or its gdal driver) not support nodata values? If so, shouldn't there be a warning message or something?