Access a collection of powerful geo-services through a single API, built entirely on open-source code and crowd-sourced OpenStreetMap data. This provides a free and flexible solution for developers, researchers, and logistics professionals to integrate sophisticated location-based features into their applications.
The API offers a wide range of functionalities, including:
With dedicated SDKs for Python, R, and JavaScript, and interactive map clients for planning, getting started is straightforward. The service also has a strong focus on supporting humanitarian and disaster management efforts with rapid data updates in critical regions.
services:
ors-app:
container_name: ors-app
image: heigit/openrouteservice:latest
ports:
- "8080:8080"
- "9001:9001"
environment:
- BUILD_GRAPHS=True
- "JAVA_OPTS=-Djava.awt.headless=true -server -XX:TargetSurvivorRatio=75 -XX:SurvivorRatio=64 -XX:MaxTenuringThreshold=3 -XX:+UseG1GC -XX:+ScavengeBeforeFullGC -XX:ParallelGCThreads=4 -Xms${JAVA_XMS} -Xmx${JAVA_XMX}"
- "CATALINA_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9001 -Dcom.sun.management.jmxremote.rmi.port=9001 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost"
volumes:
- ./graphs:/home/ors/ors-core/data/graphs
- ./elevation_cache:/home/ors/ors-core/data/elevation_cache
- ./logs/ors:/home/ors/ors-core/logs/ors
- ./logs/tomcat:/home/ors/tomcat/logs
- ./conf:/home/ors/ors-conf
- ./data/osm_file.pbf:/home/ors/ors-core/data/osm_file.pbf
# Memory allocation for the Java Virtual Machine.
# Adjust these values based on the size of your OSM PBF file.
# For a small region, 1g/2g is sufficient. For larger regions or the entire planet, you will need significantly more RAM.
JAVA_XMS=1g
JAVA_XMX=2g
Auto-fetched about 20 hours ago
Auto-fetched about 20 hours ago