Hi,<br>
&quot;v.what.rast&quot; allows to extract the values from the raster at the
vector points. How to do a similar operation for a vector map
consisting of lines instead of points. I have road network as vector
and I wish to extract the average value over each line segment from a
raster. <br>
<br>
I thought of several options but had one or other conceptual problem. I
can convert the vector line to points using &quot;v.to.points&quot; and extract
the values at each point using &quot;v.what.rast&quot;. But I am not sure how to
identify the points lying on a particular line in order calculate the
average over the line. <br>
I do want to preserve the lines in my road network vector data since it gets used in some other network analysis as well. <br>
<br>
If I have several attributes associated with my raster, how to specify the attribute to be extracted to &quot;v.what.rast&quot; ? <br>
<br>
I am quite confused as to how to do this. Any pointers would be of great help?<br>
<br>
Thanks,<br>
Jitu