Skip to content

How miscellaneous stuff are working

Stephan Simart edited this page Jun 17, 2016 · 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".

places

This service is based on a 3-grams algorithm. Here is the different phases of searching

  1. init
  2. ghost word management (such as "in", "the", "on"...)
  3. alias management
  4. house number management
  5. 3-grams on words that remain

TODO: filters and sort

journeys

Based on Raptor. But with lots of enhancements to be descripted here...

route_schedules and stop_schedules

Sorting the vehicle in a time table

departures and arrivals