Offline navigation - GraphHopper - preparation

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

0 Members and 2 Guests are viewing this topic.

Menion

Hi John, others.

I've just generated on the GitHub new version 0.9 . @develar also very quickly generated new data for this version so please re-download necessary areas from the web: https://graphhopper.develar.org/ .

I've tested a new APK version & new data and seems to work correctly for all possible routing profiles. And have to say, that compare to the BRouter, this is sooooo fast, unbelievable :)
- 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

Well it's really odd.
I've downloaded the 0.9 apk and the 0.9 data (have to manually select that option).
Attempting to route
a) select eg fast car
b) after first tap of the blue button nothing happens
c) after second tap gives orange toast as before
d) select eg fast bike
e) select eg fast car
f) tap blue button: nothing happens
g) tap blue button: routing works!


Sent from my moto g(6) plus using Tapatalk

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

john_percy

#272
@menion
Ignoring double tap issue, none of the travel modes (fast car, fast bike, mtb, racing, hike) work first time, whether I just accept the default or select a different mode. After this failure (*without returning to the map screen*), you can either select a different mode or select a different mode and then reselect the previous mode: routing then works.
Edit: 1. In latest beta, double tap issue is resolved.
2. Second sentence above should now read: After this failure (without returning to the map screen), you can either select a different mode or leave the previous mode selected: click on blue button, routing then works.
Voluntary and Velocity themes - https://voluntary.nichesite.org
  •  

develar

0.9 still has issues with "problem with service".

I planned route using "plan route". Saved track, and then navigate.

But when I cut down the route, navigation stopped work (no new voice navigation). I invoke "recalculate", and got "problem with service on orange toast." (several times, no luck to make it working).

The only solution was to change navigation provider to graphhopper online :(
  •  

Menion

Hi, after some changes, I've completely included GraphHopper add-on in the latest Beta version.
May you or John give it a try to verify that the problem is or isn't in some kind of cross-app communication/battery optimization? Thanks guys.
- 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

At first sight this appears to now be working fine, though Locus Free icon appears twice in the app drawer, and one of them opens the graphhopper set data page.


Sent from my moto g(6) plus using Tapatalk

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

john_percy

At second sight I discovered the routing engine being used was graphhopper online rather than the new graphhopper internal. Graphhopper internal fails completely for me, as in the main thread for the latest version.

Sent from my moto g(6) plus using Tapatalk

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

Menion

Ah damn, so the problem is not in separation of the feature into two apps, but in the method, how apps communicate. Oki, thanks!
- 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

#278
The error message is totally different this time. With the previous version, routing worked the second time. The message the first time was "T: problem with service"
With this version, I get "Routing service set incorrectly".
Voluntary and Velocity themes - https://voluntary.nichesite.org
  •  

john_percy

#279
New beta: back to "Problem with service" orange toast on first tap on circular blue navigation button, ok on second tap.

Sent from my moto g(6) plus using Tapatalk
Voluntary and Velocity themes - https://voluntary.nichesite.org
  •  

Menion

Thanks for tests John. Same issue (hope it's same) happens to Michal and I think I've found a reason for it.
Meanwhile, you are testing it in Route planner with same result right? Give it a try once more, but this time, try to disable GPS in Locus Map. It may help. Thanks.
- 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

1. Seems to work OK in Route Planner mode.
2. My testing recently had been with the pop up "Navigate to selected point". If I navigate between two fixed points (ie not from GPS current position) it finds a route ok, *then* shows orange toast as before. That's with GPS on. I guess with GPS off it won't show that toast as it seems to be checking actual position. (However I can't see how to turn GPS off in the app.)

Sent from my moto g(6) plus using Tapatalk

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

balloni55

Quote from: john_percy on February 18, 2020, 09:16:52
New beta: back to "Problem with service" orange toast on first tap on circular blue navigation button, ok on second tap.
furthermore with V 3.44.0
LMC 3.70.0 AFA
Locus Map 4.21.1.1 Gold AFA
LMC User ID c8b19276f
LM4 User ID e06d572d4
  •  

Menion

Thanks for the test balloni. Unfortunately, I still do not know why this happens.
I will have to test on some more devices (involve family) to find out any, that has same issue as you describe here. Next week ...
- 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

Awaiting next beta for further tests...

Sent from my moto g(6) plus using Tapatalk

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