I want to use pgrouting on a rail network, stored in PostGIS. For each service number I have all the station it stops at. Until now, I set up start and end nodes for the rail edges and created the topology in Postgis.
Unfortunately, the coordinates of the stations don't correspond with the positions of the vertices of the edges, although they overlap with the edges. What should be achieved in the end, is routing along the train lines, e.g.
"show pathway of the line X, which stops at stations [5565,5619,7719]"
Because the underlying data changes more or less often and I need their original IDs, I want to avoid to change it too much by splitting the lines. Is there a way in pgrouting to use multiple interim points for calculating the shortest path?