HSLdevcom / localroute

Javascript library for public transport route planning
GNU General Public License v3.0
32 stars 13 forks source link

Clarify or rename essential concepts. #6

Closed haphut closed 10 years ago

haphut commented 10 years ago

At Dev4Transport there was some talk about sequences, patterns, routes, variants, lines etc. Is there a common terminology to adhere to? Is there at least a way to avoid conflicts with the names in GTFS, OpenTripPlanner, SIRI and possibly Kalkati? A comparison of some these might get published soon...

jjrv commented 10 years ago

Probably fixed in commit bd71f3f41c5bbe0b61f22dd6bae37448bf63df5c by renaming what used to be called a line, to seq (stop sequence) which more clearly reflects its meaning. There's no such thing as a line any more now, because they aren't defined in GTFS either. A "key" is still the combination of a stop sequence, headsign and similar info. GTFS attaches such details to each trip instead. Lines would be groups of keys, possibly automatically generated by matching names and at least some shared stops.

haphut commented 10 years ago

OK. Thanks for clarifying that up. Good job.