Hi all,
for r3.mapcalc and r.mapcalc, there seems to be a difference regarding the
logical operators ( ||, etc.):
Assuming that two raster maps BAR and BAZ exist, the following statement
creates new map content FOO whenever BAZ and BAR are not null:
r.mapcalc FOO='if((BAZ BAR),42,null())'
I have been having trouble reinstalling GRASS on XP.
I have downloaded the stand-alone, and via OsGeo4W, and installed,
reinstalled, removed, rebooted, reinstalled, etc., in various different
sequences without success.
QGIS also isn't working.
When GRASS starts, the black console window comes up,
Hi,
it seems that the installation failed since QGIS is not working too. It
might be better to ask about this on osgeo4w-dev mailing list.
You can also try standalone GRASS installer but it is based on OSGeo4W
anyway.
About Windows XP, I'm not sure if you are doing the right think in using
it.
Peter Löwe wrote:
for r3.mapcalc and r.mapcalc, there seems to be a difference
regarding the logical operators ( ||, etc.):
Assuming that two raster maps BAR and BAZ exist, the following
statement creates new map content FOO whenever BAZ and BAR are not
null:
r.mapcalc FOO='if((BAZ
Glynn,
thanks for your quick response:
You are of course correct regarding the non-null/non-zero aspects and I stand
corrected for the substellar cut'n past blunder :-)
Yet still I'm puzzled, as I hoped that type casting to INT would do the trick:
r3.mapcalc l01i='int(l01)'
r3.mapcalc