Skip to content

Package/Project/Tool Suggestion: valhalla #296

Description

@Bergam0t

Link

https://github.com/valhalla/valhalla/

Optional - Details

Open source routing engine. Good for getting travel times.

Unlike r5py #104 it does not have a java dependency. Also more transparent about how the underlying routing file is used for generating car travel times (in my experience, it responds to modifying the .osm.pbf file in a way that r5py doesn't).

Would be good to compare and contrast with r5py. Feels like r5py may have the edge on public transport still?

It can be directly accessed from Python: https://valhalla.github.io/valhalla/README_python/

There's an example bit of code here for generating a matrix that could be adapted: https://hsma-tools.github.io/lokigi/examples/travel_time_matrices/obtaining_travel_time_matrices_limits/

(will need to also reference https://github.com/hsma-tools/lokigi/blob/03558d72ad57148795bd4b6b5cd05cda55553b15/lokigi/travel_utils.py#L14 and https://github.com/hsma-tools/lokigi/blob/03558d72ad57148795bd4b6b5cd05cda55553b15/lokigi/travel_utils.py#L149)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status
    Up Next

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions