Hi,
I have created a little .bat file to generate routing files for Locus GraphHopper in Windows.
I have created a little .bat file to generate routing files for Locus GraphHopper in Windows.
Code Select
set NAME=slaskie
set FILE=%NAME%.pbf
set JAVA_OPTS=-Xmx1250M
set GH_CLASS=com.graphhopper.tools.Import
set CONFIG=config.properties
rem GH_IMPORT_OPTS=?
set GRAPH=%NAME%-gh
set JAR=tools\target\graphhopper-tools-0.5.0-jar-with-dependencies.jar
java %JAVA_OPTS% -cp %JAR% %GH_CLASS% config=%CONFIG% %GH_IMPORT_OPTS% graph.location="%GRAPH%" osmreader.osm="%FILE%"
pause
The following users thanked this post: Bucky Kid