grote / osm2gtfs

Turn OpenStreetMap data and schedule information into GTFS
GNU General Public License v3.0
99 stars 31 forks source link

Add city information to Line/Itinieray names #109

Open AltNico opened 6 years ago

AltNico commented 6 years ago

When generating national GTFS feeds it is important to have the possibility to add some kind of city information to a Line or Itinerary because it is very likely that one name exists in various cities.

Example: MGA-110 (Bus number 110 in Managua, Nicaragua)

nlehuby commented 6 years ago

In my opinion, your lines should belong to different agencies, and it would make more sense to use agencies rather than cities to differentiate them

prhod commented 6 years ago

I agree with @nlehuby . In your exemple, there is an aggregation of different types of information :

ialokim commented 6 years ago

The only point I see we should definitly change is the use of the route number (aka ref tag from OSM) as the route_id in the GTFS. It's very likely to encounter more than one routes with the same number that we would like to add to the same GTFS file. One very simple solution would be to use the master_route OSM id as GTFS route_id (similar to the stops/stations/shapes).

The only downside I see is that it would difficult human readability of the GTFS routes.txt and trips.txt, but I'm not sure whether this is very important.