Open
Description
We should allow the default TripCreator to work without schedule data and then generate a GTFS with a frequency.txt
file that only uses OSM data.
Even if it won't fit all needs, it will allow to create very easily a first GTFS from OSM data that could even be usable for some simple cases (long distances buses with low frequency, ferries and shuttle bus, subways with high frequency, etc)
We can use
- the
interval
OSM tag to get the frequency : https://wiki.openstreetmap.org/wiki/Key:interval - the
opening_hours
to define the stop time at the first stops - the
duration
key (and the GTFS interpolate stop time utility) to deduce times at each stops
The Accra creator is a good start to implement this as it already does that.
Well, almost :
- it has its
opening_hours
hard coded - it uses
travel_time
tag instead ofduration
andfrequency
tag instead ofinterval
- the tags are read on either the route or the route_master (we should to be smart enough to handle both)
- the conditional part of the
interval
tag is not supported