[GRASS-user] I can not get expected value with r.mapcalc

Ahmet Temiz ahmettemiz88 at gmail.com
Fri Oct 14 06:26:32 PDT 2016


Hi

What is wrong in following expression? . I was expecting to get 51 as
value.But only value is 0.

r.mapcalc  "pr2.pass00 = if ( MASK,curvt_cat == 1 &&  curvp_cat == 3 &&
asp_cat == 3 && slp_cat == 1 && jeo == 6 ,51, null() )"  --overwrite

regards

-- 
Ahmet Temiz
Jeoloji Müh.
Afet ve Acil Durum Yönetimi Başkanlığı
Bilgi İşlem  Dairesi Başkanlığı-CBS Grubu


________________________

Ahmet Temiz
Geological Eng.
Information Systems - GIS Group
Disaster and Emergency Management
of Presidency
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20161014/16b78323/attachment.html>


More information about the grass-user mailing list