Valhalla

Valhalla

官方

Docker 应用程序 from grtgbln's Repository

概述

An open source routing engine and accompanying libraries for use with OpenStreetMap data. Valhalla also includes tools like time+distance matrix computation, isochrones, elevation sampling, map matching and tour optimization (Travelling Salesman).

运行时参数

网络
bridge
特权
false

模板配置

API PortPorttcp

Container Port: 8002

目标
8002
默认值
8002
价值
8002
Tile URLsVariable

Space-separated list of URLs. Remove if Use Local Tiles is enabled.

目标
tile_urls
默认值
https://download.geofabrik.de/europe/andorra-latest.osm.pbf
价值
https://download.geofabrik.de/europe/andorra-latest.osm.pbf
Use Local TilesVariable

Use a local tile.tar file instead of downloading and building

目标
use_tiles_ignore_pbf
默认值
False|True
Build TarVariable

True creates a tarball of the tiles including an index which allows for extremely faster graph loading after reboots. Force will do the same, but first delete the existing tarball.

目标
build_tar
默认值
True|Force|False
Force RebuildVariable

Force a rebuild of the routing tiles and sets (overrides Build Tar)

目标
force_rebuild
默认值
False|True
Build ElevationVariable

True downloads elevation tiles which are covering the routing graph. Force will do the same, but first delete any existing elevation tiles.

目标
build_elevation
默认值
False|True|Force
Build AdminsVariable

True builds the admin database needed for things like border-crossing penalties and detailed routing responses. Force will do the same, but first delete the existing database.

目标
build_admins
默认值
False|True|Force
Build Time ZonesVariable

True builds the timezone database which is needed for time-dependent routing. Force will do the same, but first delete the existing database.

目标
build_time_zones
默认值
False|True|Force
Build TransitVariable

True will attempt to build transit tiles if none exist yet. Force will remove existing transit and routing tiles.

目标
build_transit
默认值
False|True|Force
Custom FilesPath

Path to custom files.

目标
/custom_files
默认值
/mnt/user/appdata/valhalla/custom_files
价值
/mnt/user/appdata/valhalla/custom_files
GTFS FeedsPath

Path to GTFS feeds. Remove if Build Transit is disabled.

目标
/gtfs_feeds
默认值
/mnt/user/appdata/valhalla/gtfs_feeds
价值
/mnt/user/appdata/valhalla/gtfs_feeds
Tileset NameVariable

The name of the resulting graph on disk. Very useful in case you want to build multiple datasets in the same directory.

目标
tileset_name
默认值
valhalla_tiles
价值
valhalla_tiles
Traffic NameVariable

The name of the traffic.tar. Again, useful for serving multiple traffic archives from the same directory. If empty, no traffic archive will be built.

目标
traffic_name
默认值
traffic.tar
价值
traffic.tar
Path ExtensionsVariable

This path will be appended to the custom_files path and will be the directory where all files will be created. Can be very useful in certain deployment scenarios. No leading/trailing path separator allowed.

目标
path_extension
Update Existing ConfigVariable

True updates missing keys in existing valhalla.json. Useful for updating stale config files to include newly introduced config parameters.

目标
update_existing_config
默认值
True|False
Use Default Speed ConfigVariable

True loads a JSON file used to enhance default speeds (or falls back to an existing custom_files/default_speeds.json) and sets the respective config entry. More details: https://github.com/OpenStreetMapSpeeds/schema

目标
use_default_speeds_config
默认值
False|True
Default Speed Config URLVariable

Remote location of the default_speeds_config JSON.

目标
default_speeds_config_url
默认值
https://raw.githubusercontent.com/OpenStreetMapSpeeds/schema/master/default_speeds.json
价值
https://raw.githubusercontent.com/OpenStreetMapSpeeds/schema/master/default_speeds.json
Serve TilesVariable

Serve tiles from the container. If false, only build the graph.

目标
serve_tiles
默认值
True|False
Server ThreadsVariable

Number of threads to use for the server

目标
server_threads
默认值
2
价值
2

下载统计数据

287,459
下载总数
790
本月
463
平均每月

长期下载总量

加载图表...

详细信息

存储库
ghcr.io/valhalla/valhalla:latest
最后更新2023-03-16
初见2025-01-28

在Unraid 上运行 Valhalla 。

Valhalla 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。