[GRASS-user] map algebra logical operators on DCELL rasters not admitted? maybe docs should outline it

G. Allegri giohappy at gmail.com
Mon Oct 19 08:18:57 PDT 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20151019/77827ffa/attachment.html>


More information about the grass-user mailing list