App: Offline routing (BRouter)

After testing various settings as a quick solution for a simple set of different routing profiles used for offline routing with BRouter in the Kurviger app, I would recommend to save up to three new profiles, according to one’s personal preferences.

As template for every profile I used “car-fast.brf” (copied to every of the three bfr-files for Kurviger) and only modified the sections mentioned subsequently.

:sloth: Kurviger-smallroads.brf

If smaller roads are preferred.

Modify this sections (no further data needed in the “Kinematic” section):

# Use the following switches to change behaviour
assign avoid_toll = false # %avoid_toll% | Avoid paid roads | boolean
assign avoid_unpaved = false # %avoid_unpaved% | Avoid unpaved roads, if possible | boolean
assign avoid_motorways = true # %avoid_motorways% | Avoid motorways | boolean

# Kinematic model parameters
assign vmax = 70 # %vmax% | Target speed (in km/h) | number

:rabbit2: Kurviger-fastroads.brf

If a faster route is preferred (using faster roads, but still avoiding motorways/highways).

# Use the following switches to change behaviour
assign avoid_toll = false # %avoid_toll% | Avoid paid roads | boolean
assign avoid_unpaved = false # %avoid_unpaved% | Avoid unpaved roads, if possible | boolean
assign avoid_motorways = true # %avoid_motorways% | Avoid motorways | boolean

# Kinematic model parameters
assign vmax = 100 # %vmax% | Target speed (in km/h) | number

:racehorse: Kurviger-highways.brf

If the fastest route is preferred (using motorways/highways if possible).

# Use the following switches to change behaviour
assign avoid_toll = false # %avoid_toll% | Avoid paid roads | boolean
assign avoid_unpaved = false # %avoid_unpaved% | Avoid unpaved roads, if possible | boolean
assign avoid_motorways = false # %avoid_motorways% | Avoid motorways | boolean

# Kinematic model parameters
assign vmax = 130 # %vmax% | Target speed (in km/h) | number

I copied the three Kurviger brf-files into BRoutes profiles folder (\Android\data\btools.routingapp\files\brouter\profiles2) and deleted all other brf-files (after making backups of course and I preserved the other files “lookups.dat” and “v1.6.1”) to keep things clear and neat.

Now I can start the BRouter app to choose from three different profiles, depending on my current needs:

Of course those profiles will result in quite different (and less attractive, curvy and motorbike-specialized) routes than using Kurviger’s online routing algorithm. But they are quite useful as a fallback solution if rerouting is necessary while being offline and can help to avoid unwanted street types in such cases.

7 Likes