[GRASS-user] value of a certain cell

Glynn Clements glynn at gclements.plus.com
Fri Mar 9 10:49:16 EST 2007


Andruit at gmx.de wrote:

> i would like to include the following in a shell script, but i don´t know the sythax
> 
> I want to find out the value of a certain cell (for example col 34 row 78) and if the value is > 1 
> 
> then
> 
> value + 10  
> 
> else
> 
>  .....
> 
> How is this possible?

You can obtain values at specific locations in raster maps using
r.what.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-user mailing list