[GRASS-dev] possible problem in GRASS 6.4 command parsing in Windows

Michael Barton Michael.Barton at asu.edu
Wed Jan 12 18:51:46 EST 2011


I was just working with a couple postdocs using GRASS 6.4.0 on Windows. We tried to enter the following command in the command line window in the layer manager

r.mapcalc newmap=if(oldmap<=18000,1,null())

This generated an error saying that it could not find oldmap.

If we did this in the MSys terminal (adding single quotes as needed there) it works fine.

r.mapcalc 'newmap=if(oldmap<=18000,1,null())'

I don't know if this is an error or if we were doing something wrong.

Maybe someone else more accustomed to GRASS for Windows can test.

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University

voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:          480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu













More information about the grass-dev mailing list