Skip to content

Smart Mobility Planner (SMOP): A real-time, intermodal route planning solution backed-up by open-source technologies & data.

Notifications You must be signed in to change notification settings

belgianmobility/nextmoov-smop-otp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

< Back to general

SMOP - OTP

This repository gives a set of scripts to ease the bootstrapping of an OTP instance.

We invite you to review the OTP documentation for more infos about OTP.

Illustration

Requirements

  • At least 16Go of RAM
  • docker
  • docker-compose

Running the service

  • clone the repo
    git clone git@github.com:nextmoov/nextmoov-smop-otp.git
  • move into the created folder
    cd nextmoov-smop-otp
  • provide source data (see Modules)
  • build the database (see with otp - takes 15 to 20 min)
    docker-compose run otp-builder ./build
  • run via docker-compose
    docker-compose up

Architecture

Software Architecture - OTP submodule

Modules

You need to provide both osm.pbf file and the static GTFS zip files in the data directory alongside the docker-compose.yml file.
The provided static GTFS files needs to be named xxx-gtfs.zip (where xxx is only composed of lower case letters - what you put in place of xxx doesn't matter as long as it follow the template. The otp-builder will look through the folder for file named according to said template – see General > data-sources for more information).

Builder

It will start OTP in build mode with the files in ./data as input. (See General > launching-the-modules for more information).

OTP

When you run docker-compose up, it will start OTP with the built Graph (see Builder). It takes some times to start.

When the system is started you can acces your brand new OTP instance on http://localhost:8081/

And the API is accessible from http://localhost:8080/otp

A router-config.json example file is provided to get GTFS RT update and JC Decaux / Villo. See General > data-sources about the GTFS RT feeds.

About

Smart Mobility Planner (SMOP): A real-time, intermodal route planning solution backed-up by open-source technologies & data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published