This object is in archive! 

I can not understand the principle of Locus/Brouter profiles.

JMD shared this question 5 years ago
Answered

Enrage ... I can not understand the principle of Locus /Grazer profiles.

I will explain in the attached document ...

Files: J2.pdf

Replies (4)

photo
3

It seems it has the cause in the checked "Avoid unpaved roads".

I could reproduce the checked option gives the detour, while the unchecked one gives the expected route.The problem is the conbination of the profile logic and the way how the roads are mapped in OpenStreetMaps.

In my country, the major roads are explicitly mapped with surface=asphalt or paved ( and are paved ). In your road case, the roads do not have explicit tags about the road surface.

The profile with checked "Avoid unpaved road" checks explicit being paved OSM tagging.

Sure, the is possibility to tune the default logic to expect default surface for particular road classes. The problem is, this may be very country/region dependent and profiles are expected to have a global use. In some less developed countries, even major roads may not be paved and may not be tagged so.

So the surprising workaround is, uncheck avoidance of unpaved roads.

But generally, I highly recommend the new car-fast and car-eco profiles, coming with BRouter, based on the new author's kinematic model for car profiles. the drawback is, aside of the speed parameter, they do not offer option flags. for the

tollfree case, I derived a year ago a tollfree variant of the BRouter ( = not mine ) car-fast profile. It helped me a lot in finding tollfree and avoiding toll motorways, when I was a navigator across the France in 2016. E.g from Montpellier to Clermont-Ferrand was good price-free piece.

Here is more about my profiles on Github wiki.

photo
1

Note the the initial part of the supposed route does not have tagged surface quality.

photo
1

Thank you for this answer that enlighten me. I just checked by going to my account 'openstreetmap.org' and I found that the coating mentioned at the toll gate is 'Artificial turf! (I changed the nature). So of course I can not go with the Locus profile when I check 'avoid unpaved roads'.


You tell me about the new 'auto-fast' and 'auto-eco' profiles, delivered with Brouter.


I saw that Brouter had new profiles on 6-10-2018 but at my level of competence, I do not know yet how to download them from http://brouter.de/brouter/profiles2/

Same thing for the variant that you elaborated 1 year ago.

Maybe you could help me on that too?


Thanks again.

photo
1

Unless you have so older version of BRouter installed, you should have the new car-fast and car-eco profiles in the ..../BRouter/profiles folder on your phone. But there is naming conflict as I used these names as well for my custom profiles, before the BRouter author came with his own.


So, check the start of content of files,for kinematic model comment, or check the file timestamps.


For the toll-free variant, just open the link an a phone browser and save it as a .brf file to profiles folder.

photo
1

Merci pour toutes ces informations, dont je vais faire bon usage... Et merci pour votre disponibilité.

Cordialement,

Replies have been locked on this page!