Hi, I am not sure if make sense to add 'null' parameter to r.in.gdal. You can use r.null...
Martin 2007/7/19, Carlos Guâno Grohmann <[EMAIL PROTECTED]>:
Yes, but I was thinking how to do this _at once_ ,in the import process. C On 7/19/07, WolfgangZ <[EMAIL PROTECTED]> 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 > [EMAIL PROTECTED] > 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 _______________________________________________ grass-dev mailing list [EMAIL PROTECTED] http://grass.itc.it/mailman/listinfo/grass-dev
-- Martin Landa <[EMAIL PROTECTED]> * http://gama.fsv.cvut.cz/~landa * _______________________________________________ grassuser mailing list [email protected] http://grass.itc.it/mailman/listinfo/grassuser

