Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

How can I create a buffer with square ends along a line segment in qgis?

I've buffered lines using v.buffer in the GRASS plugin, but the -c option for square ends is not exposed in that interface.

Is there another way to do this with GRASS, or another tool?

Thanks!

update: I ended up using the grass qgis plugin with the "shell" module and just used the grass commands. If you want to see the results in qgis you can use the "add grass vector layer" tool.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

You could use GRASS itself because it exposes the -c option.

share|improve this answer
    
Thanks! I used this method, but with the grass plugin "shell" module so I wouldn't have to get into the grass application itself. Do you know if there's a way to create individual features with v.buffer? (it seems to be grouping my features into larger ones in the output) –  Andy Baumgartner Feb 14 at 1:42

-c
Don't make caps at the ends of polylines

  • from the interface of v.buffer.distance in QGIS (Processing Toolbox):

enter image description here

  • from the interface of v.buffer.column in QGIS (Processing Toolbox):

enter image description here

or use GRASS GIS directly and not the GRASS plugin (as says zimmi)

share|improve this answer
    
Hi, do you know if its necessary to install anything besides the stock qgis application to see those tools? I searched for "v.buffer.distance" in the grass plugin module list and processing toolbox search bar and can't find it. Thanks! –  Andy Baumgartner Feb 13 at 22:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.