Package to generate isochrones using OpenTripPlanner
- A running OpenTripPlanner server, version 1.5, with an associated graph.
See the project LASUR OTP to build and run a local OTP server.
uv pip install -e .To install the dependencies required to run the example notebook, use
uv pip install -e .[example]or
uv pip install -e '.[example]'if you are on macOS.
# Replace TAG with the desired version or tag, e.g. v1.2.3
uv pip install git+https://github.com/EPFL-ENAC/isochrones.git@v1.2.3
# or
uv pip install git+https://github.com/EPFL-ENAC/isochrones.git@TAGuv pip install -e .[dev]
uv run pytest -qfrom isochrones import calculate_isochrones, intersect_isochrones, get_osm_featuresGenerate Geneva OSM PBF file:
make pbf pbf-geneva