[GRASS-user] join r.coin-result to a vector attribute table

Moritz Lennert mlennert at club.worldonline.be
Mon May 5 06:24:15 PDT 2014


On 04/05/14 15:41, Helmut Kudrnovsky wrote:
> hi,
>
> given
>
> - a vector map (v) rasterized by v.to.rast via an ID (vr)
> - r.coin (vr) with another raster (rast2)
>
> any hints/ideas how to "join" back the r.coin-result of (vr) with (rast2)
> back to the vector (v) attribute table?

I would recommend using r.stats in=vr,rast2 to get a more easily 
reusable output. Then you can load the result into a table in your 
mapset database (db.in.ogr) and join it to your vector maps attribute 
table (v.db.join).

Moritz


More information about the grass-user mailing list