Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Route alternatives for bicycle (OsmAnd + Brouter) #6112

Open
Logicuth opened this issue Sep 29, 2018 · 7 comments
Open

Route alternatives for bicycle (OsmAnd + Brouter) #6112

Logicuth opened this issue Sep 29, 2018 · 7 comments
Labels
Nice to Have Should be fixed but there is no priority or no possibility to fix it within current horizon planning

Comments

@Logicuth
Copy link

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.

@vshcherb vshcherb added the Nice to Have Should be fixed but there is no priority or no possibility to fix it within current horizon planning label Sep 30, 2018
@vshcherb
Copy link
Member

We don't have alternative route UI as of today

@Logicuth
Copy link
Author

Logicuth commented Oct 9, 2018

Is there something i can do, to have the posibility to choose the 4 alternative routes of Brouter in OSMAND UI?

@vshcherb
Copy link
Member

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.

@Logicuth
Copy link
Author

Logicuth commented Oct 15, 2018

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.

@Logicuth
Copy link
Author

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

@Logicuth
Copy link
Author

Logicuth commented Apr 4, 2021

Hello, it is still not possible to select all the 4 alternative routes that BRouter can generate.

Will there be a solution?

@vnourdin
Copy link

vnourdin commented Apr 4, 2023

Hi, no news on this topic ?
This would really help to find the better way when being on a trip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Nice to Have Should be fixed but there is no priority or no possibility to fix it within current horizon planning
Projects
None yet
Development

No branches or pull requests

3 participants