[GRASS5] [bug #1436] (grass) r.mapcalc seems to treat [0,1] like [0,2]
Request Tracker
grass-bugs at intevation.de
Thu Nov 21 19:13:05 EST 2002
this bug's URL: http://intevation.de/rt/webrt?serial_num=1436
-------------------------------------------------------------------------
Subject: r.mapcalc seems to treat [0,1] like [0,2]
Platform: GNU/Linux/i386
grass obtained from: Mirror of Trento site
grass binary for platform: Compiled from Sources
GRASS Version: 5.0.0
If I do the following:
r.null grown null=0
r.mapcalc "grown=if(grown[0,0], grown[0,0], if(grown[0,1], grown[0,1]))"
r.mapcalc seems to treat [0,1] like [0,2] ..
(I'm trying to make a single-pixel wide line a two-pixel wide line)
An explanitory picture of the output can be found at:
http://www.mathlab.sunysb.edu/~mibowman/los_mc.png
thanks
Hamish
<ihatejunkyabastards at yahoo.com>
-------------------------------------------- Managed by Request Tracker
More information about the grass-dev
mailing list