OS Manuals

/usr/bin/valhalla_build_elevation

Open source routing engine for OpenStreetMap

From valhalla 3.9.1-r1 (enterprise-packages), captured 2026-11-08 by running valhalla_build_elevation --help (exit 0). permalink

usage: valhalla_build_elevation [-h] [-g FROM_GEOJSON | -b FROM_BBOX | -t] [-c CONFIG]
                                [-i INLINE_CONFIG] [-o OUTDIR] [-p PARALLELISM] [-v] [-d | -z]

Downloads Tilezen's elevation tiles that either intersect with features in all .geojson files in
--input-geojson-dir or that intersect with --bbox. NOTE: geojson method requires shapely.

options:
  -h, --help            show this help message and exit
  -g, --from-geojson FROM_GEOJSON
                        Absolute or relative path to directory with .geojson files used as input
                        to tile intersection. Requires shapely.
  -b, --from-bbox FROM_BBOX
                        Bounding box coordinates in the format 'minX,minY,maxX,maxY'.
  -t, --from-tiles      Only download tiles covered by the Valhalla graph (requires a Valhalla
                        config JSON file).
  -c, --config CONFIG   Absolute or relative path to the Valhalla config JSON. If present, can be
                        used for download location and bbox.
  -i, --inline-config INLINE_CONFIG
                        Inline JSON config, will override --config JSON if present
  -o, --outdir OUTDIR   Absolute or relative path to the directory where the tiles will be saved.
                        Overrides config JSON.
  -p, --parallelism PARALLELISM
                        Number of processing units to use.
  -v, --verbosity       Accumulative verbosity flags; -v: INFO, -vv: DEBUG
  -d, --decompress      If set, downloaded files will be decompressed (default format is gzip).
  -z, --lz4             If set, downloaded files will be recompressed with LZ4. Requires lz4.
                        Requires ~12% more disk space (216GB total) vs gzip. While you pay upfront
                        in extra CPU and space on the initial download, tiles will be several
                        times faster to decompress vz gzip.
Options (11)
OptionDescriptionSource
-h, --helpshow this help message and exithelp
-g, --from-geojson FROM_GEOJSONAbsolute or relative path to directory with .geojson files used as input to tile intersection.help
-b, --from-bbox FROM_BBOXBounding box coordinates in the format 'minX,minY,maxX,maxY'.help
-t, --from-tilesOnly download tiles covered by the Valhalla graph (requires a Valhalla config JSON file).help
-c, --config CONFIGAbsolute or relative path to the Valhalla config JSON.help
-i, --inline-config INLINE_CONFIGInline JSON config, will override --config JSON if presenthelp
-o, --outdir OUTDIRAbsolute or relative path to the directory where the tiles will be saved.help
-p, --parallelism PARALLELISMNumber of processing units to use.help
-v, --verbosityAccumulative verbosity flags;help
-d, --decompressIf set, downloaded files will be decompressed (default format is gzip).help
-z, --lz4If set, downloaded files will be recompressed with LZ4.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.