Bundling neighbouring roads of a vector map

Viewed 63

I'm trying to simplify a city map by bundling neighbouring parallel roads together by taking their average and by removing roads that are unnecessary for the essential road structure (e.g. short roads that are enclosed by other roads). Are there any well-known algorithms that address this problem? I'm aware of the Ramer–Douglas–Peucker algorithm, but I don't think it's a good-enough fit for the problem. I'm using Qgis and Openstreetmap maps. Thank you in advance.

Here's an illustration of the problem. On the left: the current map information; on the right: approximation of the desired output.

0 Answers
Related