Skip to content

tools for working with Valhalla tiles I find useful

Notifications You must be signed in to change notification settings

chrstnbwnkl/valhalla-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Collection of useful tools for working with Valhalla data

A lot of little tools like these have been loosely flying around on my computer for a while now. I'll try my best to organize them in this repo. Use at your own risk, the API might change any time. Contributions are fine, just please open an issue first.

CLI tools

valhalla_remove_predicted_traffic

removes predicted traffic from valhalla tiles.

Usage:
  valhalla_remove_predicted_traffic

  -h, --help               Print this help message.
  -j, --concurrency arg    Number of threads to use.
  -c, --config arg         Path to the json configuration file.
  -i, --inline-config arg  Inline json config.

valhalla_decode_buckets

valhalla_decode_buckets

valhalla_decode_buckets is a program that decodes
encoded speed buckets.

Usage:
  valhalla_decode_buckets ENCODED The encoded string to process

  -h, --help  Print this help message.

Outputs one row per 5-minute bucket, each containing the index and the decoded speed separated by a comma.

Building from source

You need valhalla installed on your system. CMake will try to locate the lib and the headers using PkgConfig.

git submodules update --init --recursive
cmake -B build
cmake --build build -j$(nproc)

About

tools for working with Valhalla tiles I find useful

Resources

Stars

Watchers

Forks