11

My goal is to create a buffer from a polygon. But the edges are the problem. 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 an idea?

enter image description here

Taras
  • 32,823
  • 4
  • 66
  • 137
Simon
  • 113
  • 1
  • 5

4 Answers4

22

Starting with a polygon (or several polygons):

enter image description here

Run the "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 are more features, like 4 for every rectangular polygon.

Then the "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...

Taras
  • 32,823
  • 4
  • 66
  • 137
Spacedman
  • 63,755
  • 5
  • 81
  • 115
8

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
  • 5,287
  • 22
  • 37
2

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

Erik
  • 16,269
  • 1
  • 24
  • 43
1

I followed up the same process explained by @Spacedman, I use MMQGIS plugin, it makes me feel more comfortable with many more options under MMQGIS > Create > Create Buffers than the traditional buffering technique.

Taras
  • 32,823
  • 4
  • 66
  • 137