Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds OSRM Support for enhanced route queries #13

Merged
merged 3 commits into from
Oct 17, 2024

Conversation

merschformann
Copy link
Member

Description

Added support for querying routes using OSRM, enhancing route plotting capabilities (via polylines) and distance and duration calculations.

Changes

  • Added osrm_host argument to pass OSRM server details.
  • Created a new osrm.py module for handling OSRM route queries.
  • Integrated OSRM route querying into the main plotting logic.
  • Updated route statistics to include route costs and durations from OSRM or RoutingKit.
  • Modified Route class to store distances and durations alongside the existing route information.
  • Adjusted RoutingKit integration to align with the new OSRM support, including handling of distances and durations.

@merschformann merschformann merged commit a20bc78 into develop Oct 17, 2024
3 checks passed
@merschformann merschformann deleted the merschformann/osrm-support branch October 17, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants