App: Offline routing (BRouter)

Sorry, Du hast natürlich Recht. Ich hatte da beim Testen mit dem BRouter Web Client wohl irgendwas falsch gemacht oder verwechselt.

Ich werde mal versuchen, mit den Zugänglichkeits-Parameters der car-basierten Profile zu experimentieren, um auch für solche Fälle ein Routing zu ermöglichen. Bislang war ich da leider noch nicht erfolgreich. Ich kenne mich dazu einfach noch zu wenig mit dem umfangreichen Möglichkeiten bei der Profilerstellung aus. Möglicherweise helfen da aber schon die Anmerkungen in dem Enduro-Profil weiter, das Du hier gepostet hast. Na mal sehen …

2 Likes

See also BRouter documentation with links for extra profiles with explanations and guides.

Ich hab mir grad mal die OSM-Daten angeschaut, die Dorfstraße ist teilweise mit access=destination angegeben. Allerdings sehr ungenau und unterschiedlich. Denke daran liegt das “Chaos”. :slightly_smiling_face:

I just looked at the OSM data, the village street is partly indicated with access=destination. But it is very inaccurate and different. That’s where the “chaos” lies. :slightly_smiling_face:

What app/software did you use to edit the files, please?

It’s a text file. I connected my smartphone to my PC, copied the brf-files into it and then created/edited the new ones. I used Notepad++ but you can use any simple text editor (like standard Windows Notepad editor for example). Then I copied the new files back into my smartphone.

But its also possible to copy and edit them directly on your smartphone by using a good file manager app. I prefer “Solid Explorer”. Go to the BRouter folder (\Android\data\btools.routingapp\files\brouter\profiles2), make new copies of the file “car-fast.brf” and then use the internal file editor of “Solid Explorer” (called “SE Editor”) to modify the contents (long tap on the file, select “open with”, then select “SE Editor”).

2 Likes

Or you can simply download this files to be unpacked and copied to your phone:

brf-files-for-kurviger.zip (6,5 KB)

7 Likes

Thank you. All loaded and ready to test.

1 Like

Thanks a lot. I really appreciate offline routing with BRouter.

Nice Profiles people offered! Thanks for that contribution!

From my point of view it would be really nice if kurivger app could use different profiles like
“car-fast”, “car-eco”, “fastbike” in Brouter
by choice in kurviger app like
“schnell und kurvig”, “kurvig”, “sehr kurvig”

This way one could preconfigure BRouter and use different profiles without touching BRouter in between .
I would love such an option!

The combination OSMand+BRouter works like this!

Question to the BRouter-Professionals

When I restart my phone,
BRouter resets back to standard profile mode setting like
motorcar_fast->car-fast
motorcar_short->car-eco
foot_fast->shortest

So to use modified profiles permanently, I have to rename them to car-fast / car-eco etc.

Anyone knows this problem?

BRouter power exists in external profiles, better handled in its app.

BRouter in Kurviger is more meant for offline navigation rerouting.
For route planning should use internet and Kurviger curvy routing.

1 Like

See also @SchlesiM’s post above with some detailed instructions.

Or change the mapping in BRouter’s serviceconfig.dat file.
See also its readme in “Routing via the service interface” section.

Hmmm, after proceeding like I described in my post above the content of my “serviceconfig.dat” looks like this, even after restarting the phone (just tested):

bicycle_fast Kurviger-smallroads
bicycle_short Kurviger-smallroads
foot_fast Kurviger-smallroads
foot_short Kurviger-smallroads
motorcar_fast Kurviger-smallroads
motorcar_short Kurviger-smallroads

Should be enough.

For this example I configured all BRouter profiles to use “Kurviger-smallroads” using BRouters own dialog interface:

Kurviger uses the car fastest profile in offline routing.

With BRouter that should be the “motorcar_fast”.

Maybe the app could provide an internal mapping of Kurviger routing options to BRouter standard profiles (as an option in the settings?).

Something like that:

fastest route -> motorcar_fast
fast and curvy route -> motorcar_short
curvy routes -> bicycle_fast
extra curvy route -> bicycle_short
all curvy route -> foot_fast

This way everyone had the chance to easily use different BRouter profiles for each of the Kurviger options (of course after adding his own brf-mapping in BRouter like described above). Additionally this would provide more transparency how Kurviger integrates the BRouter profiles.

1 Like

This isn’t right mapping, walking and cycling are completely unrelated meanings to vehicles.

Like mentioned above, BRouter’s power is its custom profiles. Can be one or many and should be handled externally, by users willing to invest time to explore its app and custom profiles.

Yes, that’s clear. But I meant after replacing or remapping the different standard profiles in BRouter to your custom brf-files so that (for example) “foot_fast” in fact isn’t a footwalker profile any longer but uses one of your custom brf-files.

By using this BRouter dialog (several times):

So that it looks somehow like this in the end (I called the BRouter dialog three times to get there):

mapping

Advantage: possibility to use different BRouter setting for each of Kurvigers routing options.

Of course the standard mapping in Kurviger still remains this:

fastest route → motorcar_fast
fast and curvy route → motorcar_fast
curvy routes → motorcar_fast
extra curvy route → motorcar_fast
all curvy route → motorcar_fast

For users who don’t want to fiddle around with BRouter and its brf-files (as far as I understood this is the way it currently works).

If users wish to customize BRouter, they have to learn how to use it, via its app.
Or they can simply use the sane default profile, which is usable for most cases. :slightly_smiling_face:

1 Like

I understand your idea, but to me that looks like an abuse of BRouters profiles.
It feels like a crude hack to map bicycle and foot profiles to some custom motor-vehicle profiles.

Better keep it simple.

Manfred

Kurzer Einwurf von mir, nicht vergessen das vielleicht einige Anwender BRouter auf Ihrem Handy auch für andere Apps verwenden. Falls Ihr die Profile aber anders, fest, zuordnet passen Sie nicht mehr für die anderen Apps, zB OsmAnd+. Da wäre die manuelle Wahl der Profile, über die BRouter App, vielleicht besser?
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Short interjection from me, don’t forget that maybe some users use BRouter on their mobile phones for other apps as well. But if you assign the profiles differently, fixed, they won’t fit for the other apps, e.g. OsmAnd+. Maybe the manual selection of the profiles via the BRouter app would be better?

2 Likes