Re: [GRASS-dev] r.out.gdal, again

2008-08-20 Thread Glynn Clements
Markus Metz wrote: I have a wishlist for r.out.gdal together with a new version (link below), and would like to put it up for discussion: Changes in my version are: Colortable export A new flag -c is provided to export a colortable, default to no. Colortables in GeoTIFF files are

Re: [GRASS-dev] r.out.gdal, again

2008-08-20 Thread Maciej Sieczka
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 - and using Byte as data type (range 0 - 255) is no longer accepted, it will

Re: [GRASS-dev] r.out.gdal, again

2008-08-20 Thread Markus Metz
Maciej Sieczka wrote: 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 - and using Byte as data type (range 0 - 255) is

Re: [GRASS-dev] r.out.gdal, again

2008-08-20 Thread Glynn Clements
Markus Metz wrote: r.out.gdal nodata handling could be changed so that the user has to provide a nodata value if there are NULLs in the raster, otherwise r.out.gdal aborts with an error. That's reasonable for integer maps, but for FP maps it makes more sense to simply default to NaN as the

Re: [GRASS-dev] r.out.gdal, again

2008-08-20 Thread Dylan Beaudette
On Wednesday 20 August 2008, Glynn Clements wrote: Markus Metz wrote: r.out.gdal nodata handling could be changed so that the user has to provide a nodata value if there are NULLs in the raster, otherwise r.out.gdal aborts with an error. That's reasonable for integer maps, but for FP maps

Re: [GRASS-dev] r.out.gdal, again

2008-08-20 Thread Markus Metz
Dylan Beaudette wrote: On Wednesday 20 August 2008, Glynn Clements wrote: Markus Metz wrote: r.out.gdal nodata handling could be changed so that the user has to provide a nodata value if there are NULLs in the raster, otherwise r.out.gdal aborts with an error. That's

Re: [GRASS-dev] r.out.gdal, again

2008-08-20 Thread Glynn Clements
Markus Metz wrote: r.out.gdal nodata handling could be changed so that the user has to provide a nodata value if there are NULLs in the raster, otherwise r.out.gdal aborts with an error. That's reasonable for integer maps, but for FP maps it makes more sense to simply default

[GRASS-dev] r.out.gdal, again

2008-08-19 Thread Markus Metz
Hi, I have a wishlist for r.out.gdal together with a new version (link below), and would like to put it up for discussion: Changes in my version are: Colortable export A new flag -c is provided to export a colortable, default to no. Colortables in GeoTIFF files are sometimes not properly

Re: [GRASS-dev] r.out.gdal, again

2008-08-19 Thread Dylan Beaudette
On Tuesday 19 August 2008, Markus Metz wrote: Hi, I have a wishlist for r.out.gdal together with a new version (link below), and would like to put it up for discussion: Changes in my version are: Colortable export A new flag -c is provided to export a colortable, default to no.