I am a Graphhoper newbie. I want to make a demo, but I have some problems. Can anyone help me?
My scenario is as follows:
1、 Clone and switch branches
git clone git@github.com:graphhopper/graphhopper.git
git checkout 10.0
2、Export osm file from openstreetmap as data source for demo
3、Use JOSM to edit osm (add a footway) and export pbf
I didn’t upload it to osm after editing because I just wanted to test it locally
4、Place pbf in the root directory of the graphhoper project and modify config-example.yml
datareader.file: “demo-latest.osm.pbf”
5、Startup error: Invalid OSM WAY Id: -1249; Ids must not be negative,I’ve temporarily commented it out to start the service
6、Visit localhost:8989, enter the newly added footway starting point, but the navigation route you get is not the expected walking route,I expect to get the red route
I have a few questions:
- Does the edited osm need to be uploaded to the osm server for the route to take effect?
- Does the above situation require additional configuration to support?
- Does the osm route need to add additional tags to support?
Thank you very much for your answers