OS Manuals

/usr/bin/valhalla_build_extract

Open source routing engine for OpenStreetMap

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

usage: valhalla_build_extract [-h] [-c CONFIG] [-i INLINE_CONFIG] [-e EXTRACT_TAR] [-O] [-t]
                              [-b BBOX | -g GEOJSON_DIR | -r REGION] [-v]

Builds a tar extract from the tiles in mjolnir.tile_dir to the path specified in
mjolnir.tile_extract.

options:
  -h, --help            show this help message and exit
  -c, --config CONFIG   Absolute or relative path to the Valhalla config JSON.
  -i, --inline-config INLINE_CONFIG
                        Inline JSON config, will override --config JSON if present
  -e, --extract-tar EXTRACT_TAR
                        If specified, will build an extract from an existing tar file at
                        'mjolnir.tile_extract' and save it to this specified path.
  -O, --overwrite       Overwrites an output tar file
  -t, --with-traffic    Flag to add a traffic.tar skeleton
  -b, --bbox BBOX       If specified, will only archive tiles which are intersecting this bbox. In
                        'minx,miny,maxx,maxy' format.
  -g, --geojson-dir GEOJSON_DIR
                        Absolute or relative path to directory with .geojson files used as input
                        to tile intersection. Requires shapely.
  -r, --region REGION   Geofabrik region name or ID (e.g. 'switzerland', 'europe/france'). Pass
                        multiple times to combine regions. Use '--region list' to show all
                        available regions. Requires shapely.
  -v, --verbosity       Accumulative verbosity flags; -v: INFO, -vv: DEBUG
Options (10)
OptionDescriptionSource
-h, --helpshow this help message and exithelp
-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
-e, --extract-tar EXTRACT_TARIf specified, will build an extract from an existing tar file at 'mjolnir.tile_extract' and save it to this specified path.help
-O, --overwriteOverwrites an output tar filehelp
-t, --with-trafficFlag to add a traffic.tar skeletonhelp
-b, --bbox BBOXIf specified, will only archive tiles which are intersecting this bbox.help
-g, --geojson-dir GEOJSON_DIRAbsolute or relative path to directory with .geojson files used as input to tile intersection.help
-r, --region REGIONGeofabrik region name or ID (e.g. 'switzerland', 'europe/france').help
-v, --verbosityAccumulative verbosity flags;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.