I have points data,
p1,p5,p3,p6,p7 are the points of road-A, while
p2,p4,p8,p9 are point of road-B. In database (PostgreSQL) points are in
How can I make a route, by identifying every next point?
As points in database are not in order of route.