Skip to main content
Question

Buffer line without overlap


jeroen
Contributor
Forum|alt.badge.img+8

I'm having trouble removing buffer segments correctly when generating a buffer around a line dataset with roads.

Input data (road lines with road name and city):

 

When buffering this, I end up with:

This method has a lot of overlap that i'm not able to process properly. Is there a way to buffer it like this or process the _overlap >= 2 in a way that this is the result:

I tried the areaonareaoverlay and correct the overlap afterwards but did not get the desired result.

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+49

Oh boy...

Not a full solution, but some suggestions as to what I would try:

If you dissolve the orignal polygons and get the interior line you can extend it and snap it to the outer shell of the dissolved buffer. Use that to cut up the _overlap = 2 areas. Then to determine to which buffer it should dissolve I guess you can use a SpatialRelator.

Of course this will get very messy if you have more than 2 overlaps...

 


  • July 4, 2023

I think QGIS already has a tool for this

Anyway this worked for me in FME

Buffer inwardly, convert to line, densify line, voronoi from line, dissolve on attribute

Buffer


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings