This section describes how to setup a server similar to the demo server but without real-time updates.
To run your own MOTIS instance, you need an OpenStreetMap dataset and a timetable in either the GTFS or the HAFAS Rohdaten format. Note that currently, MOTIS supports only certain HAFAS Rohdaten versions (notably a version in use at Deutsche Bahn, the AVV version as well the one provided at opentransportdata.swiss) and not all GTFS features.
- Download the latest OpenStreetMap dataset for Switzerland in the “.osm.pbf” format from geofabrik.de and put it into your
- Download the latest dataset HAFAS Rohdaten (version 5.20.39 - “Timetable 202x (HRDF)” not version 5.40) dataset from opentransportdata.swiss and extract it into your
Linux Installation Guide
Tested on Ubuntu 18.04.
- Step 1: Install a new C++ standard library required by MOTIS.
- Step 2: Download the MOTIS distribution from here and extract it. The directory structure must look exactly like the one shown on the right.
- Start MOTIS:
./motis/motisand visit http://localhost:8080.
Windows Installation Guide
Tested on Windows 10.