Hello,
I’m quite new with graphhopper. I would like to use graphhopper’s routing engine to generate routes, weighted by existing gpx tracks: the more a way has been taken, the more its weight will be important.
I already have my weights for all OSM way, stored in a Postgis database with the OSM ways IDs, and I know would like to add them to graphhopper.
For this, I saw 2 options :
- Adding a new encoded value to graphhopper and creting a new flag, and then use it in a custom model
- Creating a new weighting class, like the FastestWeighting, that includes my own weight
Which option would you recommend? Is there any other option to do so?