I have a shape file with transportation lines and another file with all bus stops along each line (with an attribute which links stops with specific lines to which they belong).
I need to calculate line-specific order numbers for all stops - 1 being first stop from which the bus departs, 2 second stop, etc.
The shp file containing stops contains duplicates of every physical stop depending on how many bus lines are using it (each of these duplicates have different "line" attribute number).
Any suggestions for how to calculate the new "stop sequence" attribute for all stops? OS tools would be preferable.