Skip to content
dev
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

readme.rst

navitia

Navitia

(pronounce [navi-sia])

Version Build status License Chat
version Last build license chat

Presentation

Welcome to the Navitia repository !

Navitia is a webservice providing:

  1. multi-modal journeys computation
  2. line schedules
  3. next departures
  4. exploration of public transport data
  5. search & autocomplete on places
  6. sexy things such as isochrones

Approach

Navitia is an open-source web API, initially built to provide traveler information on urban transportation networks.

Its main purpose is to provide day-to-day informations to travelers.
Over time, Navitia has been able to do way more, sometimes for technical and debuging purpose or because other functional needs fit quite well in what Navitia can do or just because it was quite easy and super cool.

Technically, Navitia is a HATEOAS API that returns JSON formated results.

Who's who

Navitia is instanciated and exposed publicly through api.navitia.io.
Developments on Navitia are lead by Kisio Digital (previously CanalTP).
Kisio Digital is a subsidiary of Keolis (itself a subsidiary of SNCF, French national railway company).

More information

Getting started

Want to test the API ?

The easiest way to do this is a to go to navitia.io.
Signup, grab a token, read the doc and start using the API!

For a more friendly interface you can use the API through navitia playground (no matter the server used).

Want to use you own datasets or infrastructure ?

docker

The easiest way to have your own navitia is to use the navitia docker-compose.

fabric
If you don't want to use the prebuilt docker images you can use the fabric scripts we use to deploy to api.navitia.io.
⚠️ WARNING ⚠️ Those scripts should be usable, but they are not meant to be completely generic and are designed for our own servers architecture.
Use this only if the docker does not suit your needs and if you are an experienced user 😉

Want to dev and contribute to navitia ?

If you want to build navitia, develop in it or read more about technical details please refer to CONTRIBUTING.md.

Curious of who's contributing? ⏯️ https://www.youtube.com/watch?v=GOLfMTMGVFI

Architecture overview

Navitia is made of 3 main modules:

  1. Kraken is the c++ core (Heavy computation)
  2. Jörmungandr is the python frontend (Webservice and lighter computation)
  3. Ed is the postgres database (Used for preliminary binarization)

Kraken and Jörmungandr communicate with each other through protocol buffer messages send by ZMQ.

Transportation data (in the NTFS, or GTFS format) or routing data (mainly from OpenStreetMap for the moment) can be given to Ed.
Ed produces a binary file used by Kraken.

documentation/diagrams/Navitia_simple_architecture.png

More information here: https://github.com/CanalTP/navitia/wiki/Architecture

Alternatives?

Navitia is written in C++ / python, here are some alternatives:

You can’t perform that action at this time.