I am having a road network shapefile. I want to split it into smaller edges in such a way that each edge consist of two diversions. I am unable to do so.

Here n1, n2 and n3 are any three adjacent points in the road network which are diversions.

I want to convert this road network into a graph.

Image 1: n1-----n2 (desirable output)enter image description here

Image 2: n1----n2----n3 (overflow condition/ undesirable)enter image description here

Image 3: n1-----*******n2 (underflow condition/ undesirable)enter image description here

closed as unclear what you're asking by Mark Ireland, Jochen Schwarze, nmtoken, whyzar, Hornbydd Jan 28 at 15:52

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • I need to break my road network as an ordered set of edges between two points. These edges can be polylines. – Sudhanshu Kulkarni Jan 28 at 23:15

Browse other questions tagged or ask your own question.