Open Logicuth opened 6 years ago
We don't have alternative route UI as of today
Is there something i can do, to have the posibility to choose the 4 alternative routes of Brouter in OSMAND UI?
We are preparing new UI for Public Transport navigation where you will be able to select alternatives routes there it will be possible to change. If this is a request for a setting then it should be possible to add today. We have all parameters defined in this class, probably if we know this is a B-router we can hard-code new parameters https://github.com/osmandapp/Osmand/blob/d4737f496c64745adb66fd156a90b52cb1fc01c2/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/RoutePreferencesMenu.java. Unfortunately I'm not very good at this code.
Thank you for your answer. Yes, this is a request, it will be great to have alternative routes generated by Brouter in UI of OsmAnd. Alternative routes are generating by Brouter, if Brouter is started with the same "start and finish points" again. First time Brouter generates a file Brouter0.gpx, second time the file Brouter1.gpx, third time Brouter2.gpx, and last Brouter3.gpx.
But at this time only Brouter0.gpx can be used in OsmAnd UI.
You can read here: https://groups.google.com/d/msg/osmand/lBaPQgGQ3p4/Z8eqHEREAwAJ
You can Generate all 4 routes directly in BRouter, using the same origin, destination (taken by Brouter from OSMAnd favourites)and profile, what would create files BrouterN.gpx , N=0-3. Than you can import the GoX file in OSMand.
Brouter already has implemented alternatives routes.
In Osmand it is allready possible to configure Brouter as "routing engine" instead of the Osmand own routing engine.
As you can read here, Osmand uses a Remote-Procedure-Call to get a route from Brouter: https://forum.openstreetmap.org/viewtopic.php?pid=720563#p720563
I do not know, if it is possible to get the alternative routes from Brouter with this Remote-Procedure-Call.
Or if it only possible to get alternative routes with starting Brouter App again and again with the same start and finish points, to generate brouter0.gpx, brouter1.gpx, brouter2.gpx and brouter3.gpx
Hello, it is still not possible to select all the 4 alternative routes that BRouter can generate.
Will there be a solution?
Hi, no news on this topic ? This would really help to find the better way when being on a trip.
Hello, it is still not possible to select all the 4 alternative routes that BRouter can generate.
Will there be a solution?
Looking forward to this as well.
For bicycle i use OsmAnd and Brouter ( http://brouter.de/ ).
Brouter offers for each profile (e.g. trekking) 4 alternative routes: http://brouter.de/brouter/alternatives.html
Live demo: http://brouter.de/brouter-web/
But in OsmAnd you only have the first route of Brouter App, dont possible to choose the alternative ones.
Is it possible to implement alternative routes to OsmAnd? Thank you.