Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/motis-project/motis
Intermodal Mobility Information System
https://github.com/motis-project/motis
gbfs gtfs gtfs-rt intermodal json-api maas mobility mobility-as-a-service motis openstreetmap real-time routing routing-algorithm routing-engine transit transport
Last synced: about 1 month ago
JSON representation
Intermodal Mobility Information System
- Host: GitHub
- URL: https://github.com/motis-project/motis
- Owner: motis-project
- License: mit
- Created: 2020-04-14T16:05:37.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-11-01T12:41:06.000Z (about 1 month ago)
- Last Synced: 2024-11-01T13:17:07.382Z (about 1 month ago)
- Topics: gbfs, gtfs, gtfs-rt, intermodal, json-api, maas, mobility, mobility-as-a-service, motis, openstreetmap, real-time, routing, routing-algorithm, routing-engine, transit, transport
- Language: C++
- Homepage: https://motis-project.de
- Size: 24 MB
- Stars: 209
- Watchers: 15
- Forks: 47
- Open Issues: 33
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-transit - MOTIS - Multi Objective Travel Information System, written in C++ and Java. Can consume schedule timetables in the GTFS or HAFAS format as well as real time information in the GTFS-RT (and RISML, a propriatary format at Deutsche Bahn) as input data. For pedestrian routing (handled by Per Pedes Routing) and car routing (handled by OSRM) OpenStreetMap data is used. (Uncategorized / Uncategorized)
- awesome-transit - MOTIS - Multi Objective Travel Information System, written in C++ and Java. Can consume schedule timetables in the GTFS or HAFAS format as well as real time information in the GTFS-RT (and RISML, a propriatary format at Deutsche Bahn) as input data. For pedestrian routing (handled by Per Pedes Routing) and car routing (handled by OSRM) OpenStreetMap data is used. (Uncategorized / Uncategorized)
README
> [!NOTE]
> This is the MOTIS 2 beta version.
> You can find the `0.x.y` legacy branch [here](https://github.com/motis-project/motis/tree/legacy).> [!TIP]
> :sparkles: Join the international MOTIS community at [**motis:matrix.org**](https://matrix.to/#/#motis:matrix.org)MOTIS stands for **M**odular **O**pen **T**ransportation **I**nformation **S**ystem.
It is an open-source software platform designed to facilitate
efficient planning and routing in multi-modal transportation systems.
Developed to handle *large-scale* transportation data,
MOTIS integrates various modes of transport -
such as walking, cycling, sharing mobility (e-scooters, bike sharing, car
sharing), and public transport -
to provide optimized routing solutions.MOTIS currently supports the following input formats:
- (One) **OpenStreetMap `osm.pbf`** file for the street network, addresses, indoor-routing, etc.
- (Multiple) **GTFS** feeds for static timetables
- (Multiple) **GTFS-RT** feeds for real-time updates (delays, cancellations, track changes)
- (Multiple) **GBFS** feeds for sharing mobility*Planned*: GTFS-Flex, NeTEx and SIRI
MOTIS provides an easy-to-use **REST API** (JSON via HTTP) with
a [**OpenAPI specification**](openapi.yaml)
that allows you to generate clients for your favorite programming language.# Features
> [!NOTE]
> :rocket: MOTIS is optimized for **high performance** with **low memory usage**.
>
> This enables _planet-sized_ deployments on affordable hardware.MOTIS is a swiss army knife for mobility and comes with all features you need for a next generation mobility platform:
- **routing**: one mode walking, bike, car, sharing mobility / combined modes
- **geocoding**: multi-language address and stop name completion with fuzzy string matching and resolution to geo coordinates
- **reverse geocoding**: resolving geo coordinates to the closest address
- **tile server**: background map tilesMOTIS uses efficient traffic day bitsets that allows efficient loading of **full year timetables**!
Loading one year of timetable doesn't take much more RAM than loading one month.Features can be turned on and off as needed.
# Quick Start
- Create a folder with the following files.
- Download MOTIS from
the [latest release](https://github.com/motis-project/motis/releases) and
extract the archive.
- Download a OpenStreetMap dataset as `osm.pbf` (e.g.
from [Geofabrik](https://download.geofabrik.de/)) and place it in the folder
- Download one or more GTFS datasets and place them in the folder```bash
./motis my.osm.pbf my.gtfs.zip
```This will preprocess the input files and create a `data` folder.
After that, it will start a server.> [!IMPORTANT]
> Ensure a valid timetable is used. If the timetable is outdated, it will not contain any trips to consider for upcoming dates.This script will execute the steps described above for a small dataset for the city of Aachen, Germany:
**Linux / macOS**
```bash
# set TARGET to linux-arm64, macos-arm64, ... to fit your setup
# see release list for supported platforms
TARGET="linux-amd64"
wget https://github.com/motis-project/motis/releases/latest/download/motis-${TARGET}.tar.bz2
tar xf motis-${TARGET}.tar.bz2
wget https://github.com/motis-project/test-data/raw/aachen/aachen.osm.pbf
wget https://opendata.avv.de/current_GTFS/AVV_GTFS_Masten_mit_SPNV.zip
./motis aachen.osm.pbf AVV_GTFS_Masten_mit_SPNV.zip
```**Windows**
```pwsh
Invoke-WebRequest https://github.com/motis-project/motis/releases/latest/download/motis-windows.zip -OutFile motis-windows.zip
Expand-Archive motis-windows.zip
Invoke-WebRequest https://github.com/motis-project/test-data/archive/refs/heads/aachen.zip -OutFile aachen.zip
./motis aachen.osm.pbf AVV_GTFS_Masten_mit_SPNV.zip
```# Documentation
- Developer Setup
- [for Linux](docs/linux-dev-setup.md)
- [for Windows](docs/windows-dev-setup.md)
- [for macOS](docs/macos-dev-setup.md)
- [Advanced Setups](docs/setup.md)