Since version 1.0, it looks like the -Ddw.graphhopper.graph.location parameter is not recognised when reloading a previously built graph (it worked OK with 0.13.0).
Running The following command:
java -jar -Xmx60000m -Xms60000m -Ddw.graphhopper.graph.location=D:\OSM\planet-latest.osm-gh -jar C:\Graphhopper\1.0\graphhopper-web-1.0.jar server C:\Graphhopper\1.0\config.yml
gives the following error:
“If no graph.location is provided you need to specify an OSM file”
Am I doing something wrong or does this look like a bug?
The graph.location param works OK when generating a new graph, just not when reloading a previously generated graph.
A workaround seems to be to add the graph location in the config file but it would be better if the command line parameter was still available to avoid having to modify the config file each time the graph changes.