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

Feature request: Add a profile or a switch which makes no change on the existing route #834

Open
Plotter123 opened this issue Nov 5, 2024 · 10 comments

Comments

@Plotter123
Copy link

Not sure if this is the right place. In general I like very much the routing (Trekkingrad Original), in areas I know very well it is often very close to my favorite route. But I have a problem adjusting longer routes which are not ready on the same day. I start with the automatic solution and make some own modifications, download the file. Next day I load the file to make further modifications and several of the changes I made the day before are gone. If I load the only the track (not as route) the formerly changes are still in, but I cannot make further modifications. A profile or a switch which makes no modifications to the fresh loaded GPX would solve this problem.

@EssBee59
Copy link

EssBee59 commented Nov 11, 2024

Hello,

If you intend to change an existing track you should "upload" your track as a route (==>load + load track as route).
You should further choose a profile that "corresponds" to your track (trekking / race /MTB ...)

@Plotter123
Copy link
Author

But this is the problem: If I load the track (which I have modified the day before) as a route, most of my modifications are not in afterwards.

@EssBee59
Copy link

EssBee59 commented Nov 18, 2024

When you load the GPS as track, then you see your changes?
If so, your changes are probably "small" and are eliminated during the load track as route...
Yes, it is possible and caused by the "simplify" process (load as route ==> reduces the number of points in the gpx and use them as route points!
In that case you should "limit" the point-reduction of points by setting the corresponsing option during the "load as route"
(tuning ==> less fuzziness)

@Plotter123
Copy link
Author

As I wrote in my first post, if I load as track everything is fine.

Moving the slider to the very left position leads to much slower route load, the result is indeed better, but still some changes are in. The screenshot shows a area where the route (magenta) is different from the track (blue). In this case i have no idea, why the route is changed (Profile Treckingrad Original), the official cycleway is at the river. But even in other cases there should be an option to load the track without any changes to make it possible to edit an existing track only on the desired areas.
Bild_2024-11-19_200313637

@EssBee59
Copy link

EssBee59 commented Nov 20, 2024

Sorry for the inconvenience!
I allready reported 5 bugs (or more) in the standard trekking profile, and I see a new one on your route:
The "blue" part of your route is mapped in OSM as
"highway=unclassified surface=asphalt access=no route_bicycle_icn=yes
route_bicycle_rcn=yes"

The mapper set "access=no" probably to stop cars, but a cycle_route exists, proving that bikes are allowed.
(of course you could add in OSM something like bicycle=designated...)

The problem is, the standard trekking-profile set an "accesspenalty" of 15 on that segment, and this causes the routing error.

To bypass the bugs in the trekking profile I created an own profile that you can test / use in my instance:

https://brouter.de/essbee/#map=16/49.3631/9.0530/osm-mapnik-german_style&lonlats=9.051571,49.363419;9.063835,49.364176&profile=trekking_SB

(or start the instance
https://brouter.de/essbee/#map=12/49.8253/8.8007/osm-mapnik-german_style

and choose the "trekkingrad (mit Optionen)"

@Plotter123
Copy link
Author

Thank you very much for your assistance. But I think, you will never get a 100% correct map. So it is good, if errors are reported and lead to a better next release.

I tried your suggestion above (slider at very left position, trekkingrad mit Optionen) and still several details are different from my original track.

Screenshot 2024-11-20 113701

My goal is something else and I am not sure, if you really understand what I mean:

For example if I decide make a change on the route and want to carry my bike over some steps this is possible. But if I open this modified gpx again this modification is not in, because always a complete new routing starts after loading.

In my opinion it should be easy to give the option to load the gpx as it is. Of course afterwards the possibility to make further modifications which is not possible if I load it only as a track (and in this case it is also not possible to see the route details like length and terrain profile).

@zod
Copy link
Contributor

zod commented Nov 20, 2024

If you already created the track with brouter-web, you can just store the URL as bookmark and continue working on it by loading the bookmark and updating it to save your improvements.

@Plotter123
Copy link
Author

@zod : Thank you, this is indeed a workaround. Not very elegant as the as the bookmark has the standard name Brouter and it is also not useful if I want to take an older track as starting point for something new. So on long term view I would prefer my original suggestion.

@EssBee59
Copy link

EssBee59 commented Dec 2, 2024

In my opinion it should be easy to give the option to load the gpx as it is.

This is the point!
If you intend to change a track at low level (point by point), yes it is possible to load the GPX exactly. With tools as the "Routeconverter" you can do that, but only very limited changes are possible (or you invest hours of work)

If you intend to make longer changes, then the method is to "simplify" the track first in N route-points, and then to recalculate the route that follow the N points. The recalculation is based on the current active profile, that for, the choose of the profile is essential and must correspond to the initial track-creation- if you created your initial track manually with an "own" routing, you have no chance to recreate it exactly with a routing engine.
As explained above, you can with a parameter set the number N low / medium or high!
This last approach is used by Brouter-web.

(the Routeconverter supporst also this approach with the option "convert track to route" that uses the same Utility (standard "simplify" programm) as Brouter-web for converting)

@EssBee59
Copy link

EssBee59 commented Dec 2, 2024

A further remark on your example above by "Bad Wimpfen":
A big part of the route you marked "blue" is mapped in OSM as "in construction", so no Router will suggest to use that route now!
So far, if you really want to modify such tracks, only manually and point by point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants