Author Topic: Offline navigation - BRouter v1.2+  (Read 5302 times)

Offline silvermapper

  • More than Newbie
  • *
  • Posts: 66
  • Thanked: 1 times
    • View Profile
  • Device: Motorola G 4G
Re: Offline navigation - BRouter v1.2+
« Reply #15 on: July 28, 2015, 16:42:34 »
Well done!
Copying both serviceconfig.dat and foot_fast_rawtrack.dat to Computer\XT1039\Internal storage\brouter\modes in place of what was there previously, gives me the exact same blue route as you provided this morning.
 

Offline gynta

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 3520
  • Thanked: 25 times
    • View Profile
    • Locus live tracking service
  • Device: SGS5m (4.4.2 root), SGTab10.1 (4.0.4)
Re: Offline navigation - BRouter v1.2+
« Reply #16 on: July 28, 2015, 17:02:52 »
As you wrote - well done.

Now you should try both offline sevices (GH and BR) for some trips/days.
Often GH has better "ideas" to route - sometimes u like BR routes.

And sorry for my word now:
I don't care about car navigation.
because my navtec onboard system works very good
and for me, Locus is a outdoor tool.

I reached my targed for now - BRouter is working for you
hf

Offline silvermapper

  • More than Newbie
  • *
  • Posts: 66
  • Thanked: 1 times
    • View Profile
  • Device: Motorola G 4G
Re: Offline navigation - BRouter v1.2+
« Reply #17 on: July 28, 2015, 17:34:49 »
gynta
Goodbye and thankyou!  This exercise has taught me so much.
Bob
« Last Edit: July 28, 2015, 21:03:43 by silvermapper »
 

Offline john_percy

  • Padavan of Locus
  • ***
  • Posts: 391
  • Thanked: 17 times
    • View Profile
  • Device: MotoG
Re: Offline navigation - BRouter v1.2+
« Reply #18 on: October 18, 2015, 22:45:45 »
BRouter 1.3 has been announced in the German language version of this forum: http://forum.locusmap.eu/index.php?topic=4064.msg39621#msg39621
Quote from: Arndt (translated)
I've uploaded the version 1.3 (only distribution-Zip, not on Google Play yet):

http://brouter.de/brouter/revisions.html [in English]

This is a purely technological update, it makes the data files considerably smaller, making the carsubset files unnecessary and improves memory footprint, thus preventing out-of-memory error.

This is only intended as an interim release, and version 1.4 will (hopefully) bring new functionally (voice hints?) and reappear on Google Play. But I will now first experience problems with the file format update in "friendly fire"

Gruss, Arndt

The data files are considerably smaller, with no need for a carsubset. They are stored in a directory "segments4" which is automatically created with a file "storageconfig.txt" that includes a value for "secondary_segment_dir" pointing to the old directory (segments3), so that is also found and the old data can be used. If you have customised the file locations, you will need to edit the new storageconfig.txt after running BRouter once.

My advice is to use the BRouter download manager to download new data files and then delete the old ones in segments3. Data files can be updated from the BRouter download manager when a new version is available.

It's working for me.

PS. I've made use of walking and cycling profiles from https://github.com/poutnikl/Brouter-profiles/wiki/Brouter-profiles-collection to select the profiles most close to my preferences and altered serviceconfig.dat accordingly.
« Last Edit: October 18, 2015, 23:24:13 by john_percy »
 

Offline poutnikl

  • Padavan of Locus
  • ***
  • Posts: 368
  • Thanked: 23 times
    • View Profile
    • My Brouter Profiles
  • Device: Sony Xperia M DUAL / LocusMap Pro / A4.3
Re: Offline navigation - BRouter v1.2+
« Reply #19 on: October 19, 2015, 17:51:07 »
Thanks for my profiles finding their customers...   :)
https://github.com/poutnikl/Brouter-profiles/wiki
When users dig them up from GitHub repositories,
they will be hopefully wrapped in some GitHub wiki knowledge....  :-)
 

Offline poutnikl

  • Padavan of Locus
  • ***
  • Posts: 368
  • Thanked: 23 times
    • View Profile
    • My Brouter Profiles
  • Device: Sony Xperia M DUAL / LocusMap Pro / A4.3
Re: Offline navigation - BRouter v1.2+
« Reply #20 on: July 27, 2016, 20:20:55 »
Hi,

I have created a windows batch

https://raw.githubusercontent.com/poutnikl/Brouter-profiles/master/sedbatch.bat
( with mentioned prerequisities and comments inside )

to generate Brouter bicycle profiles ( some existing, some new )
from the latest  Trekking-poutnik.brf template.

The batch result is a ZIP/7z archive containing the generated profiles.

For convenience, the archives  are uploaded to the GitHub as well.

https://github.com/poutnikl/Brouter-profiles/

It should not be difficult fior the Linux users to modify the batch to be an equivalent Linux shell script,
as it uses  sed.exe and wget.exe utilities from Cygwin, together with 7z.exe

Poutnik
« Last Edit: September 19, 2016, 06:50:36 by poutnikl »
https://github.com/poutnikl/Brouter-profiles/wiki
When users dig them up from GitHub repositories,
they will be hopefully wrapped in some GitHub wiki knowledge....  :-)
 

Offline poutnikl

  • Padavan of Locus
  • ***
  • Posts: 368
  • Thanked: 23 times
    • View Profile
    • My Brouter Profiles
  • Device: Sony Xperia M DUAL / LocusMap Pro / A4.3
Re: Offline navigation - BRouter v1.2+
« Reply #21 on: September 18, 2016, 17:19:06 »
It gives some advantage to run the BRouter-web locally....
https://github.com/nrenner/brouter-web


https://github.com/poutnikl/Brouter-profiles/wiki
When users dig them up from GitHub repositories,
they will be hopefully wrapped in some GitHub wiki knowledge....  :-)
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 10115
  • Thanked: 74 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: Offline navigation - BRouter v1.2+
« Reply #22 on: September 19, 2016, 16:24:42 »
Interesting. Shouldn't be even better to run whole BRouter locally and not over web interface? Hmm I can imagine even a small web server running directly in Android as localhost. Anyway on PC for some planning tasks ...
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline poutnikl

  • Padavan of Locus
  • ***
  • Posts: 368
  • Thanked: 23 times
    • View Profile
    • My Brouter Profiles
  • Device: Sony Xperia M DUAL / LocusMap Pro / A4.3
Re: Offline navigation - BRouter v1.2+
« Reply #23 on: September 19, 2016, 17:58:37 »
The Brouter-web above runs locally as a front-end over the local back-end BRouter.
BUT
1/ Brouter-web is for now intended for desktop browsers, support for mobile ones is in progress. Aside if that, resolution can be the issue for convenient use..
2/ BRouter-web uses online tile servers for OSM maps, it is not designed for full offline use.
3/ The main advantage I had in mind is ability to set the custom profiles as the "standard ones" in choices of the BRouter.

4/ As you have hinted, long routes may find the use for faster desktop CPUs.
https://github.com/poutnikl/Brouter-profiles/wiki
When users dig them up from GitHub repositories,
they will be hopefully wrapped in some GitHub wiki knowledge....  :-)
 

Offline tommi

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1200
  • Thanked: 1 times
  • Devices: Samsung S7 + S5 + S3 + Nexus7 flo
    • View Profile
Re: Offline navigation - BRouter v1.7
« Reply #24 on: October 24, 2016, 08:22:36 »
BRouter v1.7

New feature: added turncost as start-direction bias (locus only)
Already in use in current Locus? Does Locus already provide start-direction to Brouter?
« Last Edit: October 24, 2016, 15:14:40 by gynta »
 

Offline poutnikl

  • Padavan of Locus
  • ***
  • Posts: 368
  • Thanked: 23 times
    • View Profile
    • My Brouter Profiles
  • Device: Sony Xperia M DUAL / LocusMap Pro / A4.3
Re: Offline navigation - BRouter v1.4.7
« Reply #25 on: October 24, 2016, 22:41:37 »
See the Arndt's notes in Deutsch > http://forum.locusmap.eu/index.php?topic=4064.msg45570#msg45570

What I have translated by Google is:

Quote
Quote from: balloni55 on Today at 15:23:23

Quote
    I ask for a clear explanation added turn cost as start-direction bias (locus only) is best with an example 8)


Menion has built into the call interface two new parameters, which should be used to ensure that a dynamic re-calculation is more "forward" and is not already outdated at the moment it is displayed:

direction
- noManveuverTime

Only this is not feasible at the time because it would require some of the structural changes that are necessary for turning restrictions.

But what I can do easily, I've done: I use the current start direction, and calculate the angle costs relative to this starting direction precisely, like any other angle, for the first step.

As a result, the point from which the forward solution wins is increased by "turncost / costfactor" meters so that in more cases, the forward solution is obtained at the first recalculation.

But as I said, just a light bias, no navi with artificial intelligence, which can guess what you're up to.
https://github.com/poutnikl/Brouter-profiles/wiki
When users dig them up from GitHub repositories,
they will be hopefully wrapped in some GitHub wiki knowledge....  :-)
 

Offline poutnikl

  • Padavan of Locus
  • ***
  • Posts: 368
  • Thanked: 23 times
    • View Profile
    • My Brouter Profiles
  • Device: Sony Xperia M DUAL / LocusMap Pro / A4.3
Re: Offline navigation - BRouter v1.2+
« Reply #26 on: December 11, 2016, 19:42:30 »
Important note- BRouter 1.4.8 has implemented turn restrictions, essential feature for car navigation.
The navigation RD5 data files need update if older than 24NOV2016.
In my understanding, car profiles do not need modification.
Reportedly tested by a german user on 5 turn restricted places in Berlin. See also the Germmen subforum.

http://brouter.de/brouter/revisions.html

    added turn restrictions (default for car, use considerTurnRestrictions=true for bike)
    fixed elevation interpolation in start/end segments
    fixed error message for very old data files
    removed sanity checks when just reading nogos from waypoint-database
    handling url encoded parameters
    locus codes 13/14 for u-turns left/right
https://github.com/poutnikl/Brouter-profiles/wiki
When users dig them up from GitHub repositories,
they will be hopefully wrapped in some GitHub wiki knowledge....  :-)