I tried a suggestion to create buffer for each line (say a 10mtr buffer) Combine all the buffers of all lines using dissolve Try to get centerline of the combined polygon (this is where i failed... as the combined geometry was complex to get centerline)...

Original question: I have a set of lines which are in close proximity to each other. I would like to retain only one line (or create a new single line) & remove all the other lines.

Rule to remove unwanted lines can be anything. At the end I would like to see only one line in the group.

For Grouping I want to consider all lines within 20 Mtrs of each other

Original Data

original Data

Expected Result Expected Result


1 Answer 1


Your statement "...I want to consider all lines within 20 Mtrs of each other" means this is difficult to resolve. Imagine you have a bunch of parallel lines, the outer most lines are 30m apart, the inner lines are either within 20m distance of the outer lines or not at all, so which takes precedence?

Here are some Q&As on this site (there might be more you just need to search) that discuss the averaging of lines:

Averaging polylines from a number of lines

Merging average geometry of overlapping lines with differing nodes using QGIS

How can I create an average/center line in from multiples lines?

Deleting overlapping lines using ArcGIS Desktop?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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