Skip to content
forked from hove-io/navitia

The REST API to build cool stuff with public transport

License

Notifications You must be signed in to change notification settings

ays-dev/navitia

 
 

Repository files navigation

Navitia

build status

Presentation

This is the Navitia repository.

Navitia is a service providing:

  1. multi-modal journeys computation
  2. line schedules
  3. next departures
  4. explore public transport data
  5. sexy things such as isochrones

The API can be found at http://api.navitia.io/

For more information see

Organisation

At the root of the repository, several directories can be found:

  1. source: contains the navitia source code (c++ and python)
  2. third_party: third party developped modules
  3. documentation: all the navitia documentation
  4. (debug|release): by convention, the build repositories

Architecture overview

Navitia is made of 3 main modules:

  1. Kraken is the c++ core
  2. Jörmungandr is the python frontend
  3. Ed is the postgres database

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

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

documentation/diagrams/simple_archi.png

Tools

  1. Gcc as the C++ compiler (g++)
  2. Cmake for the build system
  3. Python for the api

Installation

For the installation procedure, please refer to the installation documentation

Want to use Docker? Try this documentation https://github.com/CanalTP/navitia/wiki/Navitia-in-Docker-containers

You can also refer to the automated build script to have a step by step setup guide for ubuntu 14.04

How to contribute

Fork the github repo, create a new branch from dev, and submit your pull request!

Alternatives?

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

  • OpenTripPlanner : the best known, written in java
  • rrrr : the lightest one, written in python/c
  • Synthese : a full stack, with CMS, written all in c++
  • Mumoro : a R&D MUltiModal MUltiObjective ROuting algorithm

About

The REST API to build cool stuff with public transport

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 70.3%
  • Python 27.8%
  • CMake 1.2%
  • Shell 0.4%
  • PLpgSQL 0.3%
  • Mako 0.0%