spstreets / gtfs_manager

A GUI for viewing and editing GTFS data
MIT License
30 stars 3 forks source link

Keep trip shape after stop has been edited #45

Open maxwell8888 opened 2 years ago

maxwell8888 commented 2 years ago

Currently, for trips that have an associated shape, if a stop within that trip is changed, we disregard the entire shape and simply interpolate between each individual stop. An improvement would be to use the shape between each stop which has not been edited and only interpolate between stops where one has been edited. There are problems with this however. What if the user wants to continue to use the existing shape because the new stop added is on this shape? What to do if the user wants to save the file not having updated the shape? Just have that one particular shape missing? Use the old one? Automatically create a new one interpolating between the stops?