Buffer only sides of polygons

by Simon   Last Updated October 11, 2018 14:22 PM

My goal is to create a buffer from a polygon. But the edges are the problem. I can't really explain it in words, so I will post a screenshot. That's the way I want it to look. So the goal is, that the edges are not connected. The example on the screenshot is done with powerpoint, but I want to do it with QGIS, so I can do it for a lot of polygons at once... Does anyone have got an idea?

Best, Simon enter image description here



Answers 3


Taken from here: Have a peek at v.parallel, this might help you out.

Erik
Erik
October 11, 2018 13:51 PM

You can convert your polygons to polylines first and then perform a single sided buffer. Both are algorithms that can be found under Processing > Toolbox.

PieterB
PieterB
October 11, 2018 14:04 PM

Starting with a polygon (or several polygons):

enter image description here

Run "Polygons to Lines":

enter image description here

Then "Explode lines". This won't look any different but if you enable "Show feature count" on the Layers list you'll see there's more features, like 4 for every rectangular polygon.

Then "Single sided buffer" on the exploded lines will get you this as long as you buffer on the correct side, which for me was the "Right" side, seen here with the original polygon:

enter image description here

It might depend on which way round your polygon was digitised, in which case you might need to buffer both sides and then there must be another step to work out which one you need to keep...

Spacedman
Spacedman
October 11, 2018 14:18 PM

Related Questions



Multiple Ring Buffer for Multiple Points

Updated August 03, 2017 13:22 PM


Different buffer distance left and right form line?

Updated April 15, 2017 17:22 PM