I wish to create GraphHopper routing data updates frequently to reflect my recent OSM input and assist me in checking further OSM paths and their attributes in my area. I downloaded GH addon 0.2 - based v0.5.apk and associated routing data following menion's announcement in Reply #150. My Reply #151 confirmed everything worked.
I have tried two methods to create routing data that Locus Map will accept. Both failed.
1. menion's generator: I downloaded graphHopper.zip and extracted it; downloaded an england.osm.pbf file to the same location as graphhopper.sh and ran the command in Cygwin. Here is the result:
Bob@Dellcomputer /cygdrive/c/users/bob/downloads/graphhopper/data/version_0.2.0/graphhopper/graphhopper
$ export JAVA_OPTS="-Xmx1g -Xms1g"
Bob@Dellcomputer /cygdrive/c/users/bob/downloads/graphhopper/data/version_0.2.0/graphhopper/graphhopper
$ ./graphhopper.sh import england-20151215.osm.pbf
./graphhopper.sh: line 2: $'\r': command not found
./graphhopper.sh: line 25: syntax error near unexpected token `$'{\r''
'/graphhopper.sh: line 25: `function printUsage {
I note some files are named differently and the file content is different between version 0.1.7 and 0.2.0, as can be seen in my two attachments (in case this is relevant)
2. GraphHopper Quickstart: I ran this as laid out here:
https://github.com/graphhopper/graphhopper/blob/master/docs/web/quickstart.md. The operation completed as it should with the final statement, "Started server at HTTP 8989" and a *.osm-gh folder with its content was created. I placed the folder in Locus>mapsVector and selected it in Locus Map - add-on GraphHopper. I opened Locus Map and tapped the 'Navigate' tab but received the message, "Unfortunately, Locus Pro has stopped" after the 'SELECT LOCATION' box appeared very briefly.
I note some files are different and file sizes of what I created here are significantly smaller compared with the 'england.osm-gh' I downloaded from menion's site, as can be seen in my two attachments (in case this is relevant).
I am not clever enough to pursue this issue and should be grateful if someone could take me forward.