This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

How to detect two adjacent intersections?

0

Hi all,

I'm trying to build the intersection graph of road network using OSM database. I've used the solution proposed here to extract the intersections for mainroad. Now I want to assign links between each two adjacent intersections and I can't find an algorithm to detect all these edges. Any hint or suggestion would be highly appreciated.

asked 10 Apr '14, 13:32

Angeasg's gravatar image

Angeasg
11112
accept rate: 0%

Source code available on GitHub .