Doing a logical operation with a DCELL raster within an if(x,a) statement produces an error: "Incorrect argument types to function bitand()". This doesn't seem to be described inside the docs, is it?
When the if() function is described it only states its behaviour in case of NULL, 0 or "otherwise" values. It works correctly if the maps are CELL (i.e. e value not eqaul 0 is treated correctly whatever it is) and it's quite confusing for users having a different behaviour, and sepcifically an error, in case of floating point rasters, don't you think? Regards, giovanni -- Giovanni Allegri http://about.me/giovanniallegri Gis3W - http://gis3w.it Ikare - http://ikare.it Twitter: https://twitter.com/_giohappy_ blog: http://blog.spaziogis.it GEO+ geomatica in Italia http://bit.ly/GEOplus
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
