Page 2 of 2

Re: Auto routage hors lignes avec BRouter

Posted: Thu Jun 16, 2022 10:47 am
by boowoo
Merci pour l'explication.
Ça fonctionne effectivement très bien avec les différents profils BRouter et ce sera d'évidence très utile pour les activités multiples combinées nécessitant plusieurs sources de routage.
Super outil ! 😀

Re: Auto routage hors lignes avec BRouter

Posted: Sun Jun 19, 2022 5:25 am
by boowoo
Bonjour,

BRouter fonctionne parfaitement avec l'interface de service mais avec une limitation de temps de calcul/longues distances pénalisante.
Je n'arrive pas me servir de BRouter avec son interface (file interface) en utilisant des points dans AlpineQuest. J'ai fait plusieurs essais mais sans succès pourtant cette possibilité semble bien prévue.
Avez-vous une idée ou une meilleure lecture ?
Ci-dessous, la procédure BRouter en anglais.

Calculate routes using the file interface
=========================================

The other option is using the BRouter-App to calculate a route. This is the prefered option
when calculating long-distance-routes that would not finish within the 60 seconds timout
if calculated via the service-interface.

To do this, start the BRouter-App, select two or more waypoints from the waypoint-database
of your map-tool and then start the route calculation. These waypoints are called "Favorites"
in OsmAnd, "POI"s in Locus or "Waypoints" in Oruxmaps and allow to store a location
on the map and give it a name.

No need anymore to create special "to", "from", "via1..via9" points, but they are still supported
and if a "from" and a "to" wayppoint is found in the database, you will not be prompted
to select waypoints from the database.

If a route is calculated, it is stored as "brouter0.gpx" in the map-tools track directory
(or, if there is no write-access, in brouter's base directory)
If started once more with identical input, BRouter will store a second route broute1.gpx
for the first alternative and so on.

If more than one of the supported maptools is installed, BRouter chooses the way-point database
with the most recent timestamp.

Re: Auto routage hors lignes avec BRouter

Posted: Sun Jun 19, 2022 7:06 am
by Psyberia-Support
Bonjour,
Je ne me suis pas vraiment intéressé à cette autre technique, je ne sais pas dans quel format il faut entrer les points.
De toute manière c'est toujours le même moteur qui va générer les tracés, ça ne sera donc pas plus rapide.
Dans la majorité des cas, le résultat est trouvé en moins d'une seconde.
Si vous avez vraiment besoin de faire des trèèès long tracés et que la limite de 15 secondes par défaut n'est pas suffisante, vous pouvez l'augmenter comme cela:

Code: Select all

landmarks.creator.auto_routing.services.brouter.max_delay_s=120
pour autoriser des calculs jusqu'à 2 minutes.

Re: Auto routage hors lignes avec BRouter

Posted: Sun Jun 19, 2022 9:09 am
by boowoo
Merci beaucoup,
Ça fonctionne nickel et ça augmente les possibilités du tandem AlpineQuest/BRouter !
En fait le blocage limitant pouvait venir de la distance à calculer mais aussi de l'utilisation de certains profils customisés (plus lourds) dans BRouter.
Votre "usersetting" apporte une vrai solution.