[GRASS-user] r.out.gdal to AAIGrid

Jeshua Lacock jeshua at 3DTOPO.com
Thu Aug 3 16:22:45 PDT 2017


> On Aug 3, 2017, at 12:24 PM, Pedro VenĂ¢ncio <pedrongvenancio at gmail.com> wrote:
> 
> I'm using r.out.gdal to export raster data from GRASS to Arc/Info ASCII Grid format, to use in another software (Farsite). 
> 
> However, the resulting ASCII files does not have the NODATA_value parameter in the header. 
> 
> I've tried gdal_translate and it creates, by default, NODATA_value  -999
> 
> Shouldn't GRASS also create NODATA_valeu in the header file?

Hi Pedro,

Have you tried using the nodata parameter?

r.out.gdal nodata=-999 input=yourFile output=yourFileOutput


Best,

Jeshua Lacock
Founder/Engineer
<3DTOPO.com>
GlassPrinted.com



More information about the grass-user mailing list