[GRASS-user] line buffering: many equal lines and table entry

Moritz Lennert mlennert at club.worldonline.be
Wed Apr 3 02:18:22 PDT 2013


On 29/03/13 16:01, Tim Michelsen wrote:
> Hello user list,
> I have a question concerning equal distant buffer lines
>
> I struggle in creating equal distant buffer lines for a central
> reference line (e.g. a river):
>
> E.g. say I have a river and would like to generate lines and as well
> areas of 10, 30, 50m distance to that river in order to attach
> protection schemes to these.
>
> So I do:
> v.buffer --overwrite --verbose input=streams at PERMANENT
> output=streams_buff distance=200
>
> =>  Problem:
> 	* the distance (200m) is not written in the database (attributes table)
> of streams_buff
> 	* How can I achieve this?


You could use r.buffer to immediately create several buffers and then 
transform the result to vector with r.to.vect.

Moritz


More information about the grass-user mailing list