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
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to