GraphHopper.com | Forum | GitHub | Maps | Blog

Installing Graphhopper on a Windows Server


#1

I’m looking for advice on installing the Graphhopper routing engine on a Windows server. I’ve tried following the Quick Start instructions (https://github.com/graphhopper/graphhopper/blob/0.5/docs/web/quickstart.md) but get stuck at step 3, when I try to start Graphhopper Maps. I get the following error message:

“If no graph.location is provided you need to specify an OSM file”

This is the command I’m running:

java -jar C:\Graphhopper\graphhopper-web-0.10-0-with-dep.jar jetty.resourcebase=webapp config= C:\Graphhopper\config-example.properties datareader.file= C:\Graphhopper\berlin-latest.osm.pbf

I’ve already changed the parameter “osmreader.osm” as it gave an error message saying that this has been replaced with the parameter “datareader.file”. I have the file “berlin.latest.osm.pbf” in the specified folder.

Can anyone help?

Thanks,

John


#2

Sorry, my mistake - I had a rogue space character in the command!