Add external data for custom weighting

Hi,
I want to add external data like points with accidents or building sites for a custom bike routing. My goal is a “safe” bike routing which prefer eg. cycleways and avoid dangerous areas. For this, I searched for data outside OSM. But what is the best way to integrate it? Is it just possible if I know the OSM IDs?
Afterwards, I would create a custom Weighting function to avoid/prefer these areas.
Thanks a lot in advance!
Lena

1 Like

@lenaXY, I’m very curious myself if you figured this out. I too am trying to implement a basic preferential weighting to certain streets based on a csv of osm IDs. I know this can be done, and I’m getting better at navigating around the graphhopper files, but I’m not sure how to impliment and extend graphhopper to do this.

Did you have luck yourself?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Powered by Discourse