[GRASS5] r.mapcalc and NULL question

Bob Covill bcovill at tekmap.ns.ca
Mon Jan 15 14:02:18 EST 2001


Maybe I am misunderstanding but r.mapcalc does have null value support

mapcalc> if (isnull(streams), #newval, streams)

The isnull() mapcalc function looks for all null vals in raster. I
believe you can also use null() to set a value to null.

A mapcalc / NULL FAQ might be a good idea.
Bob Covill

Tekmap Consulting
P.O. Box 2016
Fall River, N.S.
B2T 1K6

E-Mail: bcovill at tekmap.ns.ca
Phone: 902-860-1496
Fax: 902-860-1498

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bcovill.vcf
Type: text/x-vcard
Size: 257 bytes
Desc: Card for Bob Covill
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20010115/5151a111/bcovill.vcf

More information about the grass-dev mailing list