[GRASSLIST:5211] v.what.rast question

Chris Fonnesbeck fonnesbeck at gmail.com
Tue Dec 21 16:21:18 EST 2004


I am trying to transfer a stream characteristic (gradient) from a line
vector coverage to a set of riparian polygons (an area vector
coverage). I figured the easiest way to to this (since I am only
interested in one column) was to convert the line coverage to a raster
coverage with using the gradient column as the attribute, then to use
v.what.rast to insert the corresponding values into the riparian
polygons' attribute table. However, when I use v.what rast, I get no
values uploaded to the table. Here were my commands:

 v.to.rast in=streams out=stream_grad col=gradient
 v.what.rast vect=riparian rast=stream_grad col="GRADIENT"

Am I going about this incorrectly? If not, why doesnt this work?

Thanks,
Chris




More information about the grass-user mailing list