[GRASS-user] raster query on the basis of its labels

Jachym Cepicky jachym.cepicky at centrum.cz
Tue Jan 9 07:41:23 EST 2007


hi,

    if( @map, 1,0)

should work

jachym

On Tue, Jan 09, 2007 at 01:44:51PM -0500, temiz wrote:
> hello
> 
> I want to query my raster map on the basis of its labels using regular 
> expression.
> something like:
> r.mapcalc map="if(labels~'xxx',1,0)"
> 
> is it poosible ?
> 
> regards
> 
> -- 
> Ahmet Temiz
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> _______________________________________________
> grassuser mailing list
> grassuser at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassuser

-- 
Jachym Cepicky
e-mail: jachym.cepicky at centrum.cz
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub
-----------------------------------------   
OFFICE:                                     
Department of Geoinformation Technologies 
Zemedelska 3
613 00, Brno
Czech Republick
e-mail: xcepicky at node.mendelu.cz
URL:    http://mapserver.mendelu.cz
Tel.:   +420 545 134 514
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20070109/e4467b61/attachment.bin


More information about the grass-user mailing list