Author Topic: Offline navigation - GraphHopper - preparation  (Read 69210 times)

Offline Andrew Heard

  • Padavan of Locus
  • ***
  • Posts: 467
  • Thanked: 13 times
    • View Profile
Re: Offline navigation - GraphHopper - preparation
« Reply #60 on: March 04, 2015, 23:28:12 »
Hi,

A few weeks ago I first tried GH. I downloaded Netherlands and Belgium.  Worked well.
Last week I transferred Locus to SD-card.
And this morning I downloaded GH France.
And I tried tot navigate in France. No go!
Back to GH Add-in, to select France. Seems to work. But not the navigation.
Back tot the GH add-in. He, it is still on Belgium. Select France again.
Leave add-in, and start it up again. Hé, Still Belgium is selected.
Try to select Netherlands (worked, a few weeks ago). Leave add-inn and start again. Still Belgium.

Ergo: Selecting an other country does not work anymore. Has it to do with the Locus transfer to SD-card? What can I do?

Thanks!
Paul.
Paul - did you get GH routing working again? I can see no other suggestions or further discussion in this topic. GH routing works for me in my native country - Tasmania/ Australia. But when I swap maps to France, ile-de-france.osm-gh, I get a Locus error displayed, possibly same as you? I am using GN 0.1.3. Routing works fine with BRouter. Both points are on the same map, and only 3km apart. I have tried points further and closer together.





edit
Whoops - I worked it out ::) - I must manually run the "Locus GraphHopper" app & explicitly select one of the GH regions I have copied to the GraphHopper folder. My mistake.
« Last Edit: March 05, 2015, 11:54:43 by gynta »
Sony Z1, Samsung Galaxy Note 8
 

Offline gynta

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 3528
  • Thanked: 30 times
    • View Profile
    • Locus live tracking service
  • Device: SGS5m (4.4.2 root), SGTab10.1 (4.0.4)
Re: Offline navigation - GraphHopper - preparation
« Reply #61 on: March 05, 2015, 11:53:24 »
...I must manually run the "Locus GraphHopper" app & explicitly select one of the GH regions...
..as i wrote in reply #1 in this thread
http://forum.locusmap.eu/index.php?topic=4036.msg30868#msg30868
Quote
...
start aplication adon and choose source routing data
...
;D
but good to hear there is more interest about this addon.
And now we hope for an update  ;)

Offline Andrew Heard

  • Padavan of Locus
  • ***
  • Posts: 467
  • Thanked: 13 times
    • View Profile
Re: Offline navigation - GraphHopper - preparation
« Reply #62 on: March 05, 2015, 23:43:46 »
Slightly off topic but after some email discussion with dev Peter from GraphHopper, I find a more important distinction between BRouter and GH - BRouter routing rules/ costs are heavily determined via a profile script which a user (non-programmer) can modify/ tweak or substitute, whereas GH routing rules/ costs are currently determined solely by the Java code within the packaged APK, meaning a non-programmer can't modify/ tweak or substitute other than choosing one of the 5 Locus profiles (fast/ short car, fast/ short bike, walker). I have found GH favors "dirt track" over "primary road" for a Locus "fast bike" profile however I have no control over this. I'd like to stay on the sealed road if possible. There is no current way to alter this logic, so I revert to using BRouter, even if Compute Instructions are not available.
Sony Z1, Samsung Galaxy Note 8
 

Offline tommi

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1207
  • Thanked: 1 times
  • Devices: Samsung S7 + S5 + S3 + Nexus7 flo
    • View Profile
Re: Offline navigation - GraphHopper - preparation
« Reply #63 on: March 06, 2015, 03:41:01 »
I'm not really surprised.
What we've got up to now is the very first version of the Locus GraphHopper app, so to say an alpha or pre-alpha version.
Making a solution mature needs users testing it and giving feedback followed up by the developers fixing and improving it - none of these two conditions were met till now  :(
 

Offline Andrew Heard

  • Padavan of Locus
  • ***
  • Posts: 467
  • Thanked: 13 times
    • View Profile
Re: Offline navigation - GraphHopper - preparation
« Reply #64 on: March 06, 2015, 08:07:28 »
Just browsing the GH code, a tremendous amount of effort has gone into the project, so a big bravo to the developers. An amazing effort. I hope they continue to improve GH.
Sony Z1, Samsung Galaxy Note 8
 

Offline jusc

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1886
  • Thanked: 19 times
    • View Profile
  • Device: Samsung Galaxy S2 and Note 2
Re: Offline navigation - GraphHopper - preparation
« Reply #65 on: March 06, 2015, 09:42:09 »

edit
Whoops - I worked it out ::) - I must manually run the "Locus GraphHopper" app & explicitly select one of the GH regions I have copied to the GraphHopper folder. My mistake.

Did anybody test what happens if you create a route that overlaps two regions. Iin BRouter there is no problem as long you have downloaded the needed *rd files, because you don´t have to choose the region.
Regards J.
 

Offline john_percy

  • Padavan of Locus
  • ***
  • Posts: 442
  • Thanked: 30 times
    • View Profile
  • Device: MotoG
Re: Offline navigation - GraphHopper - preparation
« Reply #66 on: March 06, 2015, 10:33:32 »
Did anybody test what happens if you create a route that overlaps two regions. Iin BRouter there is no problem as long you have downloaded the needed *rd files, because you don´t have to choose the region.
I seem to remember that Menion said earlier that one of the weaknesses of Graphhopper is that it cannot cross regions and that is why it will have to stay as an unsupported beta.
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 10355
  • Thanked: 109 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: Offline navigation - GraphHopper - preparation
« Reply #67 on: March 06, 2015, 16:04:12 »
Yes and two more missing features ... one way roads and roundabouts. Anyway to be true I do not know if any of these issue is solved ...
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline tommi

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1207
  • Thanked: 1 times
  • Devices: Samsung S7 + S5 + S3 + Nexus7 flo
    • View Profile
Re: Offline navigation - GraphHopper - preparation
« Reply #68 on: March 06, 2015, 19:47:31 »
Yes and two more missing features ... one way roads and roundabouts. Anyway to be true I do not know if any of these issue is solved ...
Give us a new version and new data and we'll find out
 

Offline gynta

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 3528
  • Thanked: 30 times
    • View Profile
    • Locus live tracking service
  • Device: SGS5m (4.4.2 root), SGTab10.1 (4.0.4)
Re: Offline navigation - GraphHopper - preparation
« Reply #69 on: March 06, 2015, 19:58:41 »
 ;D

Offline tommi

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1207
  • Thanked: 1 times
  • Devices: Samsung S7 + S5 + S3 + Nexus7 flo
    • View Profile
Re: Offline navigation - GraphHopper - preparation
« Reply #70 on: March 11, 2015, 19:55:25 »
Hey, GraphHopper 0.4 is out!
https://karussell.wordpress.com/2015/03/09/releasing-graphhopper-0-4-and-the-graphhopper-directions-api/

Wouldn't it be a good opportunity to update Locus integration of GraphHopper?
The outdoor season is coming soon and the questions for offline routing and navigation in Locus don't stop.
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 10355
  • Thanked: 109 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: Offline navigation - GraphHopper - preparation
« Reply #71 on: March 12, 2015, 16:09:50 »
Yes, it's a good reason ... cannot promise now, but I'll try to look at it during March
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline jusc

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1886
  • Thanked: 19 times
    • View Profile
  • Device: Samsung Galaxy S2 and Note 2
Re: Offline navigation - GraphHopper - preparation
« Reply #72 on: March 14, 2015, 12:39:52 »
Thank you Tommi for this hint.
Unfortunately I can´t find any about the planned route overlaps more than one region.
But another feature sounds interesting. "Snap to Road" makes all of your recorded tracks looking perfect.  ;D
Regards J.
 

Offline gynta

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 3528
  • Thanked: 30 times
    • View Profile
    • Locus live tracking service
  • Device: SGS5m (4.4.2 root), SGTab10.1 (4.0.4)
Re: Offline navigation - GraphHopper - preparation
« Reply #73 on: April 22, 2015, 16:19:54 »
FYI
fwd from http://help.locusmap.eu/topic/not-always-offline#comment-15835
Quote from: menion
Data are in preparation ... hope till end of April will be ready to download. I have to also find a time to update GraphHopper add-on, this will be worst ..

Offline ringen00

  • More than Newbie
  • *
  • Posts: 43
    • View Profile
Re: Offline navigation - GraphHopper - preparation
« Reply #74 on: April 22, 2015, 18:24:16 »
Looks quite promising :-)