You are not logged in.
- Topics: Active | Unanswered
Announcement
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
#76 2018-11-24 18:10:34
- SafwatHalaby
- Member
- Registered: 2017-04-10
- Posts: 451
- Website
Re: Automated incremental Bus Stop (GTFS) updates
Considering this, I don't see how keeping the "platform number" is useful to OSM in any way, and I suggest you ignore this in your automated imports, and only have one OSM node per GTFS stop_code.
Agreed. The "platform number" is currently ignored.
______________
The deletion of stops is slowly making the OSM dataset deviate from the MOT dataset. I propose preventing users from deleting stops. Non existing stops would have to be reported upstream to MOT, just like renaming. Comments?
As a reminder, here are the current conflict handling rules: https://wiki.openstreetmap.org/wiki/Use … or_mappers
I am essentially proposing replacing "You may delete a bus stop" with "you may not delete a bus stop directly. Contact MOT instead".
Offline
#77 2018-11-24 18:20:05
- SafwatHalaby
- Member
- Registered: 2017-04-10
- Posts: 451
- Website
Offline
#78 2018-11-24 21:52:56
- Sanniu
- Member
- Registered: 2017-04-19
- Posts: 46
Re: Automated incremental Bus Stop (GTFS) updates
I am essentially proposing replacing "You may delete a bus stop" with "you may not delete a bus stop directly. Contact MOT instead".
"Contact MOT" is not enough - the exact web address/email should be added, otherwise this will be useless...
Offline
#79 2018-11-27 18:26:08
- Reuven Kost
- Member
- Registered: 2015-08-18
- Posts: 4
Re: Automated incremental Bus Stop (GTFS) updates
@SafwatHalaby Great job You do! Thank you
I believe the last changes are good improvements, relaying on MOT/GFTS data is more clever, although it has its own mistakes.
What about adding the bus numbers (Mispar Ha Kav) as a new tag to each bus stop?
It will give useful information for passengers and trip planners
The data is available as route_short_name in routes.txt in GFTS database.
Offline
#80 2018-11-30 19:42:33
- dsh4
- Member
- Registered: 2017-06-24
- Posts: 66
Re: Automated incremental Bus Stop (GTFS) updates
@Reuven Bus numbers shouldn't be mapped as new tags on the bus stops but as new relations of which the bus stops are members; see the schema: https://wiki.openstreetmap.org/wiki/Buses#Bus_routes
Your suggestion makes sense; in fact, I made a similar suggestion in this very thread some time ago; see discussion starting at https://forum.openstreetmap.org/viewtop … 96#p682596
Offline
#81 2018-12-07 08:22:08
- SafwatHalaby
- Member
- Registered: 2017-04-10
- Posts: 451
- Website
Re: Automated incremental Bus Stop (GTFS) updates
To summarize the main objection raised by some of the mappers:
The MOT route data cannot be relied upon, so an import would include the stops a bus goes through, but not the exact route or the street names.
The route=bus relation mandates routes, so an import must invent a new relation and not use route=bus.
The import needlessly bloats the map and complicates the import/conflict resolution code without adding much practical value to OSM, "because importing the bus stop data without the roads and routes / because importing the data in any form" isn't of much use to OSM.
"Contact MOT" is not enough - the exact web address/email should be added, otherwise this will be useless...
Of course! The exact address can already be found at the page, and if the deletion change is ever added it would also link to the address.
Last edited by SafwatHalaby (2018-12-07 08:22:59)
Offline
#82 2018-12-07 08:30:59
- SafwatHalaby
- Member
- Registered: 2017-04-10
- Posts: 451
- Website
Re: Automated incremental Bus Stop (GTFS) updates
Since address duplication is dangerous and may cause unknown behavior in client address lookup, I have decided to move addr:housenumber to gtfs:addr:housenumber in the meantime, even before the discussion is finished. Please feel free to post your opinions on what should be done with addr:housenumber and addr:street.
https://forum.openstreetmap.org/viewtop … 10#p704210
Pinging this old issue. Suggestions appreciated.
Last edited by SafwatHalaby (2018-12-07 08:31:30)
Offline
#83 2019-02-25 09:29:53
- Sanniu
- Member
- Registered: 2017-04-19
- Posts: 46
Re: Automated incremental Bus Stop (GTFS) updates
Hi SafwatHalaby, are you going to run your great bot? I really miss bus-stop updates last couple of months...
Offline
#84 2019-03-02 19:11:23
- SafwatHalaby
- Member
- Registered: 2017-04-10
- Posts: 451
- Website
Re: Automated incremental Bus Stop (GTFS) updates
Hello! Sorry for the infrequent updates. I had been unable to perform the runs weekly in the past few months, but starting next week the regular updates should return.
With that said, I would like to re-write the code ASAP. (It will likely be re-written in Java). The re-write should make it cleaner, allow full automation, and make it locally stateless. I aim for minimal dependencies (preferably only the standard Java library) so that it can run for a very long time without maintenance.
Offline
#85 2020-09-28 10:54:42
- SafwatHalaby
- Member
- Registered: 2017-04-10
- Posts: 451
- Website
Re: Automated incremental Bus Stop (GTFS) updates
Script has been executed.
Changesets:
https://www.openstreetmap.org/changeset/91500256
https://www.openstreetmap.org/changeset/91502029
Offline
#86 2020-09-29 09:03:52
- Sanniu
- Member
- Registered: 2017-04-19
- Posts: 46
Re: Automated incremental Bus Stop (GTFS) updates
Thanks!
Offline
#87 2020-12-28 15:42:47
- badcloud56
- New Member
- Registered: 2020-12-28
- Posts: 1
Re: Automated incremental Bus Stop (GTFS) updates
Possibly unrelated but how do I get osm(and) to show transit routes in directions?
I get "Unfortunately, OsmAnd could not find a route suitable for your settings
Try changing the settings."
Offline
#88 2022-07-07 13:20:41
- krsch
- Member
- Registered: 2022-07-02
- Posts: 4
Re: Automated incremental Bus Stop (GTFS) updates
Is importing the GTFS data from MOT abandoned? Is the data still too bad to be used? Can I help as a developer?
Offline