osm-relatify icon indicating copy to clipboard operation
osm-relatify copied to clipboard

Feature wish: Add all ways until next intersection/bus stop

Open Hidooo opened this issue 2 years ago • 2 comments

When adding ways to a bus route, you currently have to add every segment of a highway manually. Since there is no way for a bus route to end before it encounters an intersection or a bus stop, it would make sense and speed up editing by adding all ways until the next intersection/bus stop automatically. If the next segment goes beyond an intersection or a bus stop, it should be split in the editor (but not in the database until uploading) to facilitate turning off the current highway.

Hidooo avatar Aug 09 '23 13:08 Hidooo

I thought of that but this would require some more advanced system for handling start/stop position nodes, since they are rarely placed on intersections - more like mid-way. Maybe this behavior could be toggled by holding, for example, SHIFT. I will consider this! Thank you!

Zaczero avatar Aug 09 '23 14:08 Zaczero

Maybe use the code for splitting ways to have an option to split way at a bus stop node? StreetComplete also has a good and simple tap-to-split-way-function that maybe can be incorporated. Another project's code that can maybe be used is the 15 minute city experimental bus route planner from abstreet. You choose bus stops and the ways gets added automatically, and you can drag to reroute, just like in Google Maps!

Hidooo avatar Aug 14 '23 09:08 Hidooo