I am developing a transit webapp using Google Transit, while referring to documentation, i see two different datasets (trips.txt and routes.txt) but i can't clarify the difference between them.
Answer
Transit routes. A route is a group of trips that are displayed to riders as a single service. (The entire route)
GTFS Routes are equivalent to "Lines" in public transportation systems. Routes are defined in the file routes.txt, and are made up of one or more Trips - remember that a Trip occurs at a specific time and so a Route is time independent.
trips (trips.txt) are individual components of routes (routes.txt)
example - there maybe many trips to 1 route
https://developers.google.com/transit/gtfs/reference
http://support.google.com/transitpartners/answer/1106431?hl=en
No comments:
Post a Comment