Skip to content

Generate stops, trips & stop_times from route_stops & trip_times#8

Open
dahlbyk wants to merge 14 commits into
masterfrom
generators
Open

Generate stops, trips & stop_times from route_stops & trip_times#8
dahlbyk wants to merge 14 commits into
masterfrom
generators

Conversation

@dahlbyk
Copy link
Copy Markdown
Collaborator

@dahlbyk dahlbyk commented Mar 6, 2014

route_stops.txt

  • agency_id
  • route_id
  • shape_id
  • stop_sequence
  • (other stops.txt fields)
  • arrival_offset (optional)
  • departure_offset (optional)
  • (other stop_times.txt fields)

trip_times.txt

  • route_id
  • service_id
  • start_time
  • (other trips.txt fields)

From the above input files, we can generate:

  • stops.txt, with duplicates within a certain (configurable) distance flattened
  • trips.txt, automatically numbered sequentially by route/service
  • stop_times.txt for all trips, with stops identified by route/shape

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Headers for route_stops.csv

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant