I have points data,
e.g. 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 p1,p2,p3,p4,p5,p6,p7
...
How can I make a route, by identifying every next point?
As points in database are not in order of route.