Hello!
I have problems using RasterCalculator with ArcGIS10. Raster Calculator give errors when using operators AND and OR. For example when I write
"landuse" == 2 & "slope" < 5
I get an error:
Executing (Raster Calculator): RasterCalculator ""landuse" == 2 & "slope" < 5" C:\Temp\3
Start Time: Thu Mar 29 17:43:04 2012
Raster(r"landuse") == 2 & Raster(r"slope") < 5
ERROR 000539: Error running expression: rcexec() <type 'exceptions.ValueError'>: The truth value of a raster is ambiguous.
Failed to execute (Raster Calculator).
Raster Calculator works fine when I do not use operators AND / OR.
Everything worked fine in ArcGIS 9.3.
Can anyone suggest how to solve the problem? In ArcGIS10 there are not anymore any alternatives to Raster Calculator either.
Best,
Anne