[GRASS-user] using label in r.mapcalc query​

Ahmet Temiz ahmettemiz88 at gmail.com
Fri Oct 14 00:57:19 PDT 2016


Hi,

I am confused about using label values in r.mapcalc.

r.category curvt_cat
1 conc
2 flat
3 conx


r.mapcalc "dene = if ( curvt_cat == /* I want to use label values here
instead of  categories    */ )"

like this :

r.mapcalc "dene = if ( curvt_cat == 'conc' )"

it gives
Invalid map <conc>

​How can I use label in r.mapcalc query​?

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/33ebe9f1/attachment.html>


More information about the grass-user mailing list