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.


Messages - pelsta

Pages: [1]
1
Car routing data is not currently available as it does not work satisfactorily (I presume).
Car routing data is now available for download again at https://graphhopper.develar.org/#maps (as in the first post in this thread) along with
  • pedestrian or walking with priority for more beautiful hiking tours (hike)
  • trekking bike avoiding hills (bike2)
  • mountain bike
  • racing bike
This seems to work fine with the Locus add on (link in the first post again), though avoid highways/tolls/unpaved road options are not available.
Thanks again to develar.

The following users thanked this post: pelsta

2
Yes it works, updated Windows bat with precompiled targets:
https://drive.google.com/file/d/0By0QjFcdxojodzA3Z3hoV3ZNaVk

Thank you very much, @Bucky Kid!

All you need to generate routing data for GraphHopper is this:
GraphHopper.bat, config.properties, graphhopper-tools-0.10-SNAPSHOT-jar-with-dependencies.jar and, of course, the .pbf file.

How can I generate graphhopper-tools-VERSION-jar-with-dependencies.jar file myself?

You can also build a Ubuntu VM (and install Java, aka "sudo apt-get install default-jdk"), copy the graphhopper source over and build a small set of routing data with "graphhopper.sh import xxx" this will compile the JAR files automatically before importing, which you can then copy the project to your Windows PC.

BTW I would recommend adding parameters "-Xms512m -Xmx12g " to JAVA_OPT in the BAT file. "-XmsYYYm" is the starting memory allocation where YYY is your memory in "m" (megs), and -XmxZZZg is the maximum memory allocation where ZZZ is your memory in g (gigs), especially if you plan on building routing files larger than 1GB in size (as JVM defaults to 1GB or 75% of memory on Windows).
The following users thanked this post: pelsta

3
How can I generate graphhopper-tools-VERSION-jar-with-dependencies.jar file myself?

If you mean on Windows, you need Maven (extract to gH dir and rename apache-maven-3.5.0 to maven) and Cygwin/MinGW to run the shell script. Then launch bash graphopper.sh build (on Linux run only the shell command)

@menion: hike works. Is there a complete list of profiles?
A small bug in UI - when switching between profiles in config dialog, compute command checkbox disappears (and compute command option is always reset).
The following users thanked this post: pelsta

4
Yes it works, updated Windows bat with precompiled targets:
https://drive.google.com/file/d/0By0QjFcdxojodzA3Z3hoV3ZNaVk

The pbf size has no hard limitation except RAM and disk space so just try how big data it's able to compile
The following users thanked this post: pelsta

5
Hi guys,

latest version of Locus GraphHopper add-on: v0.7

Requirements: Locus Map 3.9.3.3+

Download the APK file from HERE. Copy the apk file to your device and install.

Download Routing files from HERE, based on your country. Suggest to tap on Locus button directly in your device web browser!

Start Locus and set GraphHopper as default routing service.
http://docs.locusmap.eu/doku.php?id=manual:user_guide:functions:navigation:settings#navigation_data_sources

In the GraphHopper Add-on choose which file you want to use. Do this in settings button on right side of previous settings.



How to generate routing files
- Download the raw openstreetmap file (pbf files)
- Execute ./graphhopper.sh import <your-osm-file>. This creates the routing data

Recommended generator parameters
Code: [Select]
graph.flag_encoders: bike2,racingbike,mtb,hike
graph.bytes_for_flags: 8
graph.elevation.provider: cgiar

add `car|turn_costs=true` if need car routing

The following users thanked this post: pelsta

Pages: [1]