Skip to content

rednil/routino-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

routino-docker

Routino is a route planner for OpenStreetMap data. It comes with a web interface.

This docker image allows to quickly fire up an instance simply by providing the name of the desired region(s) as an environment variable. At first startup, the respective OpenStreetMap data is automatically downloaded from GeoFabrik and preprocessed using the planetsplitter (both may take considerable time, depending on region size). As a little gimmick, the respective shape files are parsed in order to initially zoom the web interface to the respective region.

Syntax

The docker image can be configured using environment variables. All featured options can be seen in etc/container_environment. Most important is 'ROUTINO_REGIONS'. Its syntax corresponds to the file structure at GeoFabriks download server, e.g.:

docker run -e "ROUTINO_REGIONS=europe/germany/bremen europe/germany/berlin" -p 8042:80 rednil/routino-docker

In order to prevent glitches with environment variable substitution in docker-compose, the tile server url syntax uses simple curly braces for variables ({x}). This is transformed to ROUTINOs syntax (${x}) at runtime.

About

A docker container exposing a routino web interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published