Author Topic: A 4x4 profile for LoRouter / BRouter  (Read 1190 times)

Offline Viajero Perdido

  • Apprentice of Locus
  • **
  • Posts: 207
  • Thanked: 41 times
    • View Profile
  • Device: Samsung Galaxy Tab S7+ (Android 10) and -S2 (Android 7), Blackview BV9900 Pro (Android 9).
A 4x4 profile for LoRouter / BRouter
« on: April 13, 2021, 20:01:47 »
I understand more profiles are on the way for the new LoRouter in LM4, but in the meantime...

I've found the existing car profiles to be extremely reluctant to route down an unpaved road, instead making ridiculously long detours to stay on pavement.  Internally, it appears to assign a speed of 1 or 2 km/h to unpaved roads, which is slower than walking.  To me, this seems like a bug.  Here in Canada, we have many unpaved roads where 80km/h is a comfortable speed; some are secondary highways.

Also, the existing profiles won't route on highway=track.  But sometimes a destination is at the end of a track, thus you can't route to it, unless you switch to an MTB profile.

Here, attached, is a tweaked version of an existing car profile that I've tweaked to fix both these issues.  I make no claims about its quality, as I've only managed to understand it well enough to make a few changes, and they seem to work for me.  If it works for you, all the better.  :)

Drop it in your Locus/router/profiles2 folder, then select it from the Routing Profile drop-down.
 
The following users thanked this post: mixermsk

Offline Radim V

  • Global Moderator
  • More than Newbie
  • *****
  • Posts: 18
  • Thanked: 7 times
    • View Profile
Re: A 4x4 profile for LoRouter / BRouter
« Reply #1 on: April 14, 2021, 08:55:50 »
Hi, thanks for sharing the adjusted profile. Currently we are trying to figure out what the expectation for car routing actually is. More car profiles may be coming. The fact is in central Europe we consider the usage of unpaved roads or tracks for cars problematic at least. (Not so well documented restrictions and gates are one of the reason). I will do some review of the legal state of the "unpaved roads" access. Once more feedback similar to yours comes (Which I expect to be the case for i.e. Scandinavia), we may use your local knowledge. Thanks! 
 

Offline michaelbechtold

  • Expert
  • Master of Locus
  • ****
  • Posts: 797
  • Thanked: 88 times
    • View Profile
Re: A 4x4 profile for LoRouter / BRouter
« Reply #2 on: April 14, 2021, 11:11:49 »
Hi Radim,
in Germany agricultural roads may be unpaved, but still open to public traffic (own risk). Some are "protected" by a traffic sign, but no barriers.
Forest roads may have barriers, unpaved or paved, regardless.
With OSM lacking systematic QA and mapping rules enforcement you will not find rules for BRouter that will solve the issue.
Offering route ALTERNATIVES simultaneously to the user I consider the best - and only - viable option.
In the case we are discussing, one alternative would forbid unpaved, the other would include them.
Once you have established this alternative mechanics, this opens up for much more fun, because you would allow to configure which (2 - or 3) profiles would be used to offer the alternatives.
Could be flat versus steep, paved versus unpaved, ferries versus no ferries, you name it.
Cheers
Michael
 

Offline Viajero Perdido

  • Apprentice of Locus
  • **
  • Posts: 207
  • Thanked: 41 times
    • View Profile
  • Device: Samsung Galaxy Tab S7+ (Android 10) and -S2 (Android 7), Blackview BV9900 Pro (Android 9).
Re: A 4x4 profile for LoRouter / BRouter
« Reply #3 on: April 14, 2021, 18:00:39 »
To clarify, in my part of Canada, the majority of roads in farmland (example) or forest (example) are unpaved, but usually gravel and often in good condition supporting speeds of anywhere from 30 to 80km/h. We generally take the shortest path.

Also, our roads are almost always on public land and legally accessible to the public.  (If not, well, we try to tag it as such.)

Sounds somewhat different than Europe.  :)

PS, without my tweaks, above, "Avoid unpaved" had no noticeable effect.  It would always "avoid unpaved" regardless.  (In English, "avoid" is not absolute, it suggests "avoid if practical".)
« Last Edit: April 14, 2021, 18:30:15 by Viajero Perdido »
 

Offline Viajero Perdido

  • Apprentice of Locus
  • **
  • Posts: 207
  • Thanked: 41 times
    • View Profile
  • Device: Samsung Galaxy Tab S7+ (Android 10) and -S2 (Android 7), Blackview BV9900 Pro (Android 9).
Re: A 4x4 profile for LoRouter / BRouter
« Reply #4 on: April 16, 2021, 20:30:12 »
I did a little behind-the-scenes beta testing of some updated profiles (thanks Radim!), so can suggest that the profile I uploaded above will soon be obsolete.  :)
 
The following users thanked this post: Menion

Online SonnyS

  • More than Newbie
  • *
  • Posts: 26
  • Thanked: 2 times
    • View Profile
  • Device: Samsung S5
Re: A 4x4 profile for LoRouter / BRouter
« Reply #5 on: April 23, 2021, 18:36:05 »
This type of profile is EXACTLY what I've been hoping for. Very interested in your "rugged" profile, and I'll be more than happy to try the next version :-)

Thanks , Sonny

Sent from my E6910 using Tapatalk

 

Offline francisco

  • More than Newbie
  • *
  • Posts: 22
  • Thanked: 1 times
    • View Profile
  • Device: Garmin Overlander, Galaxy Tab S7, TCL 20 5G
Re: A 4x4 profile for LoRouter / BRouter
« Reply #6 on: May 15, 2021, 22:24:31 »
In my country, Portugal, Locus is very often used in 4x4 offroad and considered the best of all gps apps for 4x4.
The 4x4 profile (off-road with occasional road to link trails) is a must.
It is not possible to have updated maps with gates and so on, for now and next years in many european countries. But it is with protected/environmental areas, and maps are already updated on that. This is the main feature, not only for 4x4 off-road, but also other activities
When we plan off-road, or do it, we have to choose where to go "in-loco": gates, private roads, forest works on progress, etc.,  obtain necessary authorizations, and so on. In Europe there is few cartographic information on this, differently from USA, so Locus doesn't have to worry with what doesn't exist.
This profile is a plus for Locus.
« Last Edit: May 15, 2021, 22:28:19 by francisco »