[GRASS-dev] gdal import an nodata cells

Carlos "Guâno" Grohmann carlos.grohmann at gmail.com
Thu Jul 19 06:47:08 EDT 2007


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

-- 
+-----------------------------------------------------------+
              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-dev mailing list