[GRASS-user] r.out.gdal to AAIGrid
Pedro Venâncio
pedrongvenancio at gmail.com
Fri Aug 4 01:32:13 PDT 2017
Hi Jeshua,
You're completely right! I'd tried it, but it gaves me an error, and I did
not read it correctly, but it clearly it said that it was not possible to
assign that nodata value, because of the selected datatype!
Thank you very much for the hint! And sorry for the noise!
Best regards,
Pedro Venâncio
2017-08-04 0:22 GMT+01:00 Jeshua Lacock <jeshua at 3dtopo.com>:
>
> > 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20170804/1324b399/attachment.html>
More information about the grass-user
mailing list