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 an idea?

enter image description here

New contributor
Simon is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
up vote 19 down vote accepted

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...

  • That worked for me, thank you very much!! :) – Simon Oct 11 at 14:23

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.

  • 3
    You also need to "Explode Lines" to convert the polyline into a set of single line segment features for buffering. – Spacedman Oct 11 at 14:11
  • Perfect, thanks :) – Simon Oct 11 at 14:23

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

  • the problem is, that v.parallel only works with vector lines, not with polygones... – Simon Oct 11 at 13:56
  • But since you're clever you can convert your polygons to singular lines =) – Erik Oct 11 at 14:14

I followup the same process explained by Spacedman, i use "mmqgis" plugin, it makes me feel more comfortable with many more options than the traditional buffering technique. hope this may help you

New contributor
Mohammed Irfan is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

Simon is a new contributor. Be nice, and check out our Code of Conduct.
 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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