Helmut Kudrnovsky wrote
>>r.mapcalc "image 1 = if( NDVI@220215  >= 0.25 ,1 ,0)"
>> syntax error, unexpected INTEGER, expecting '('
> 
> 
> is there a whitespace between "image" and "1"?
> 
> try image1 instead of image 1.

just tried it here:

r.mapcalc expression=image 1 = elevation@PERMANENT                              
syntax error, unexpected INTEGER, expecting '('
Parse error
ERROR: parse error

white spaces are not allowed in layer names.



-----
best regards
Helmut
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/r-mapcalc-error-tp5285649p5285665.html
Sent from the Grass - Users mailing list archive at Nabble.com.
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to