Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - pelsta

#1
Hi,
I have created a little .bat file to generate routing files for Locus GraphHopper in Windows.


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