[GRASS-user] Re: [GRASS-dev] gdal import an nodata cells
Carlos "Guâno" Grohmann
carlos.grohmann at gmail.com
Thu Jul 19 07:42:45 EDT 2007
Yes, but I was thinking how to do this _at once_ ,in the import process.
C
On 7/19/07, WolfgangZ <wollez at gmx.net> wrote:
> 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.
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev
>
--
+-----------------------------------------------------------+
Carlos Henrique Grohmann - Guano
Visiting Researcher at Kingston University London - UK
Geologist M.Sc - Doctorate Student at IGc-USP - Brazil
Linux User #89721 - carlos dot grohmann at gmail dot com
+-----------------------------------------------------------+
_________________
"Good morning, doctors. I have taken the liberty of removing Windows
95 from my hard drive."
--The winning entry in a "What were HAL's first words" contest judged
by 2001: A SPACE ODYSSEY creator Arthur C. Clarke
More information about the grass-user
mailing list