12
votes
6answers
2k views

What's an efficient way of detecting road junctions on a map?

I may receive maps from any source for my project, and for the C++ algorithm I'm making, it's imperative for the algorithm to know where road junctions (nodes where more than two road segments meet) ...