[GRASS-user] How to list all unique pixel values (of a raster) covered by polygons (areas) for each polygon separately(?)

Hamish hamish_b at yahoo.com
Mon Jan 21 00:43:01 EST 2008


G. Allegri wrote:
> About point 4), you can do it simply adding (v.db.addcol) at the
> beginning of your job, then insert something like this into the loop:
> 
> echo "UPDATE (your_table) SET pixval=(what_you_want_to_upload) WHERE
> FID=$i" | db.execute


fyi there is v.db.update which may be easier to use than raw
db.execute.



Hamish



      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping



More information about the grass-user mailing list