Offline navigation - GraphHopper - preparation

Started by Menion, July 16, 2014, 20:43:19

0 Members and 5 Guests are viewing this topic.

MH100181

Hi. And you can link to 0.2.0 data generator provided by Minion
  •  

john_percy

Quote from: john_percy on September 24, 2018, 13:34:28
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.

Voluntary and Velocity themes - https://voluntary.nichesite.org
  •  
    The following users thanked this post: pelsta

pelsta

#257
Wow GraphHopper is very, very, very fast now!
Good job!
Thanks for the Christmas gift.
Waiting for the version with avoid highways/tolls/unpaved road options.
  •  

srtie4k

I'm less interested in hike/bike/mtb profiles and really just want car, especially to save space.

Have the sorting and turn costs issues been worked out? Are the current routing profiles by develar generated using the latest graphhopper master, or 0.12 snapshot? I see that the config file has changed in the latest master release.

I'm also very interested in motorcycle profile. Anyone know if this works offline?

If anyone has tips on these current profiles and which version of graphhopper to use to generate, it would be greatly appreciated.
  •  

ThomasD.

I can´t get GH to work. I have installed AddonGraphHopper_16_0.7_release.apk and GH data via Locus action button. When I start the Addon, it just shows me the content of the data directory (here: germany.osm). I can click on it, but I can´t select it in any way.

In Locus I can select GH as offline service, but there are no routing profiles offered to me (if I click on the little symbol with the three lines on the right site) as in GH online or BRouter.
These routing profiles are missing in the route planner, too.

If I select a crossing on the map and use it at navigation destination from the flyout, I get the error popup: Graphhopper cannot load notes.

I don´t know if it´s important, but I store all my maps on external SD. GH data are correctly copied to the external directory defined in settings.

Any hint please what to do?

Regards,
Tom
  •  

john_percy

#260
I'll attempt to show what I get, though the forum doesn't seem to like images at present and I've had to collect them as attachments at the end of this post.
Quote from: ThomasD. on January 26, 2019, 16:15:54
I can´t get GH to work. I have installed AddonGraphHopper_16_0.7_release.apk and GH data via Locus action button. When I start the Addon, it just shows me the content of the data directory (here: germany.osm). I can click on it, but I can´t select it in any way.
This is correct behaviour. If you had routing data for more than one region you could select the appropriate region here.
Quote from: ThomasD. on January 26, 2019, 16:15:54
In Locus I can select GH as offline service, but there are no routing profiles offered to me (if I click on the little symbol with the three lines on the right site) as in GH online or BRouter.
If you are referring to the "sliders" icon, I get different results with GraphHopper online & offline here. GH online gives options for avoid highways, avoid tolls, avoid ferries. GraphHopper offline just gives the option for the data file, just as when running the addon directly.
Quote from: ThomasD. on January 26, 2019, 16:15:54
These routing profiles are missing in the route planner, too.
You should get a choice of profiles when you select Navigation. With GraphHopper online they are: Car, Cycle, MTB, racing (bike), Walk, Hike. With GraphHopper offline they are Fast (car). Fast (bike), MTB, Racing (bike), Hike.
[/quote]
Quote from: ThomasD. on January 26, 2019, 16:15:54
If I select a crossing on the map and use it at navigation destination from the flyout, I get the error popup: Graphhopper cannot load notes.
That sounds like an error. have you tried reinstalling the addon and data?
Quote from: ThomasD. on January 26, 2019, 16:15:54
I don´t know if it´s important, but I store all my maps on external SD. GH data are correctly copied to the external directory defined in settings.
External SD cards are notoriously difficult in Androids. Can you try moving the data to internal memory?
Voluntary and Velocity themes - https://voluntary.nichesite.org
  •  

Lance

Hello,  I've read the whole topic but can't figure it out, can you explain in detail how to do this:

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


where can I download raw openstreetmap file? how to create the routing file what should I use to create it, and once I get it where should I place it? Sorry for newbs questions
  •  

john_percy

#262
Follow the instructions above the line in the first post. Ignore everything below the horizontal line. There is no need to generate your own routing data as you can download and install the two files you need directly from the two download links given.
Voluntary and Velocity themes - https://voluntary.nichesite.org
  •  
    The following users thanked this post: Lance

Bucky Kid

Menion, the addon needs update.
Just compiled a routing data using 0.13-SNAPSHOT and the structure isn't accepted (as I expected)

________________________
Sent from my phone using Tapatalk

  •  

Menion

Did you try it with 0.12 version?
Update add-on to SNAPSHOT version is not an ideal solution, I would rather wait to valid production-ready 0.13 version.
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

Bucky Kid

#265
With 0.12, the addon works perfectly. But now on github version 0.13 is only available. If it's not yet final, then I'll wait. The structure of the iffline data may however be final, may karrussel from gH project know.

________________________
Sent from my phone using Tapatalk
  •  

Menion

Thanks to the huge help of @develar , the add-on is back online :)

Links to the add-on APK file and also routing data are in the first posts. Enjoy it.
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

john_percy

#267
If like to know if anyone else is having trouble getting this to work. I've downloaded the new apk and the latest data for Great Britain. I can get navigation to work for fast cycle and racing cycle but not for the others. I get T: problem with service on orange toast.
What's more the navigate button seems to need to be tapped twice.
Voluntary and Velocity themes - https://voluntary.nichesite.org
  •  

develar

@john_percy Looks like notifications about new messages are not delivered to me :) Better to file issue on GitHub https://github.com/develar/gh-routing-data/issues

> for fast cycle and racing cycle but not for the others. I get T: problem with service on orange toast.

Yes, I confirm that. For the same route `bike` works, but doesn't work for `hike`.
I fixed it (at least, works for me now), please see  https://github.com/asamm/locus-addon-graphhopper/pull/5
  •  

john_percy

Hmm. Won't install for me when I either install from the zip or extract and install the apk.

Sent from my moto g(6) plus using Tapatalk

Voluntary and Velocity themes - https://voluntary.nichesite.org
  •