[GRASS-dev] gdal import an nodata cells

WolfgangZ wollez at gmx.net
Thu Jul 19 07:36:28 EDT 2007


Carlos "Guâno" Grohmann schrieb:
> I just imported a DEM that was sent to to in Erdas IMG format (HFA),
> with r.in.gdal, and after importing I had to use r.mapcalc to make the
> NODATA cells -- which were tagged as -32768 -- became NULL.
> 
> I was just wondering if there is a way to do this automatically? can I
> pass the -32768 value as an option to r.in.gdal so the cell will be
> imported as null?
> 
> cheers
> 
> Carlos
> 

you can use r.null to set the null flag.




More information about the grass-dev mailing list