Skip to main content

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.

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

 


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


Reply