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

Assistance with Integrating Traffic Data into OSRM #7011

Open
Deepak028 opened this issue Aug 2, 2024 · 1 comment
Open

Assistance with Integrating Traffic Data into OSRM #7011

Deepak028 opened this issue Aug 2, 2024 · 1 comment

Comments

@Deepak028
Copy link

Deepak028 commented Aug 2, 2024

Hello,

I am seeking assistance with integrating real-time traffic data into the Open Source Routing Machine (OSRM). Despite following the provided documentation and attempting integration with sample data, I have encountered issues and would appreciate detailed guidance on where to make changes in the OSRM setup to achieve this integration.

Objective:
To successfully integrate real-time traffic data into OSRM, enabling the routing algorithms to account for current traffic conditions and provide optimal routes.

Steps Taken:

Referred to the OSRM Traffic Integration Wiki: https://github.com/Project-OSRM/osrm-backend/wiki/Traffic
Used sample data from Mapbox Traffic Data: https://www.mapbox.com/traffic-data
Followed the example in the Mapbox Traffic Data Guide: https://docs.mapbox.com/data/traffic/guides/example/

Commands Used:

osrm-extract -p car.lua /data/new-york.osm.pbf
osrm-partition /data/new-york.osrm -
osrm-contract /data/new-york.osrm --segment-speed-file /data/0320122-America-New_York-OSM.csv
osrm-customize /data/new-york.osrm --segment-speed-file /data/0320122-America-New_York-OSM.csv
osrm-routed /data/new-york.osrm

I am not able to use this for generating of route.

Request for Guidance:
I would greatly appreciate it if someone could provide detailed guidance on the following points:

Code Changes: Specific code changes or configuration adjustments needed to integrate traffic data into OSRM.
File Locations: Key files or directories in the OSRM codebase where changes should be made.
Data Ingestion: How to correctly ingest and utilize traffic data (format, APIs, etc.).
Common Pitfalls: Common mistakes to avoid during the integration process.
Examples: Any example configurations or scripts that successfully integrate traffic data.

I appreciate any help or guidance the community can provide on this matter. Thank you in advance for your support!

Best regards,
Deepak

@mohit-at-delhivery
Copy link

Hi guys, any updates on this? I am also looking for how to include segment wise speeds in osrm.

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

No branches or pull requests

3 participants