-
Notifications
You must be signed in to change notification settings - Fork 126
How miscellaneous stuff are working
Stephan Simart edited this page Jun 10, 2019
·
15 revisions
There are 5 mains services:
- "places" to autocomplete user input
- "journeys" to compute multi-modal trip
- "PTref" to easily explore public transport data
- "route_schedules" or "stop_schedules" to print time tables
- "departures" or "arrival" in order not to miss your next bus
- "traffic_reports" to expose the main perturbations or important messages
And some sexy other things such as "isochrones".
This service is based on a 3-grams algorithm. Here is the different phases of searching
- init
- ghost word management (such as "in", "the", "on"...)
- alias management
- house number management
- 3-grams on words that remain
More information at autocomplete RFC
TODO: filters and sort
Journeys are multi-modal and can take into account many algorithms as describe here
The PT (public transport) algorithm has to be Kraken, which is based on Raptor. But with lots of enhancements which are described in the RFC.
Some ride sharing stuff can be find here
Sorting the vehicles in time tables
Please read the RFC
Some extra information on "line section" disruption here
https://github.com/CanalTP/navitia/blob/dev/documentation/rfc/ptref_grammar.md