[GRASS-dev] problem with r.mapcalc in GRASS 7

Barton Michael Michael.Barton at asu.edu
Fri Jun 25 16:19:37 EDT 2010


I'm not sure if this is a general issues or something specific to my OS X 10.6.4 build.

I just updated and compiled trunk.

When I try to use r.mapcalc, I get the following error: ERROR: Unable to load GDAL library

I'm also not sure how to use the new syntax, as the manual is lacking in examples of the use of the "expression" argument.

Old mapcalc: 
r.mapcalc 'newmap=oldmap*2'

New mapcalc: 
r.mapcalc "newmap = oldmap*2"  [CORRECT? This gives the gdal error]
r.mapcalc file=newmap expression="oldmap*2"  [This gives a parse error]


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: www.public.asu.edu/~cmbarton, http://csdc.asu.edu










-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20100625/c14b6d72/attachment.html


More information about the grass-dev mailing list