Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add city information to Line/Itinieray names #109

Open
AltNico opened this issue Dec 17, 2017 · 3 comments
Open

Add city information to Line/Itinieray names #109

AltNico opened this issue Dec 17, 2017 · 3 comments

Comments

@AltNico
Copy link
Collaborator

AltNico commented Dec 17, 2017

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
Copy link
Collaborator

nlehuby commented Dec 18, 2017

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
Copy link
Collaborator

prhod commented Dec 18, 2017

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

  • "Bus" is provided by the route_type
  • "110" is provided by the route_short_name
  • "Managua" should either be provided by the agency_name or be a more specific information in the route_name about the line
    I quite don't like the idea of transforming the OSM informations in osm2gtfs, unless done in a specific creator.

@ialokim
Copy link
Contributor

ialokim commented Feb 24, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants