Skip to content

Instantly share code, notes, and snippets.

@joaofig
Created June 30, 2023 15:20
Show Gist options
  • Select an option

  • Save joaofig/79db3329218cff092516d420c0f4dad7 to your computer and use it in GitHub Desktop.

Select an option

Save joaofig/79db3329218cff092516d420c0f4dad7 to your computer and use it in GitHub Desktop.
Setting up PyValhalla in Python
from valhalla import Actor, get_config
config = get_config(tile_extract='./valhalla/custom_files/valhalla_tiles.tar',
verbose=True)
actor = Actor(config)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment