[GRASS-dev] r.out.gdal, again
Maciej Sieczka
tutey at o2.pl
Wed Aug 20 05:11:33 EDT 2008
Markus Metz pisze:
> Nodata value handling
>
> If a nodata value was supplied, this value is tested whether it is
> within the range of the selected data type and adjusted if necessary.
> Specifying e.g. a nodata value of -9999 and using Byte as data type
> (range 0 - 255) is no longer accepted, it will be adjusted to 0.
> Similarly, a nodata value of 9999 would be adjusted to 255 for Byte
> type.
IMHO r.out.gdal should abort with an error rather than silently adjust
user-specified values.
Maciek
--
Maciej Sieczka
www.sieczka.org
More information about the grass-dev
mailing list