-
Notifications
You must be signed in to change notification settings - Fork 126
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
Update the trekking profile #641
base: master
Are you sure you want to change the base?
Conversation
It seems like the updated profile does no longer have a |
@zod
|
@zod First one is the old situation - blue the unsafe route, red the safe result and green the test route from repo What to do: |
This PR adds the following without comment:
removes the following without comment:
changes the following without comment:
And introduces a new logic for subtracting costfactors that can result in the costfactor becoming less than 1, which not only has the potential to completely destroy routing, but also contradicts what is currently being discussed here: #610. If this is merged, I will end the collaboration. |
It's hardly the first time this has been criticized, yet nothing changed.
FWIW, I already decided some time ago to stop caring about and commenting on such PRs, so do not mistake silence for agreement with any such PR. I suspect other contributors quit or reduced their involvement out of frustration how things are run here, too. |
Hello ! My first goal was to change the default value for "ignore_cycleroute": I suggest to start (or better to continue) the discussion with #622 I hope we can prepare together a solution to this first parameter and go on with the others. |
@zod |
@quaelnix From my point of view, it would be good if we have a person responsible for the profiles who would bring the issues together. That's why I had the feeling that no one felt responsible for it and nothing was happening. I think it was good that @EssBee59 had the courage to create a new version of the trekking profile. With a maintainer we could also go back to the normal way, create an issue and a PR for a result.
Hard words, but understandable. |
Yes, with a maintainer defect #622 would probably not hang for weeks!!! It had be better to start with that, but now I found time to document the changes suggested in this PR profile: 1-cycle_routeNot every part of a cycle-route is a "safe harbor":
Statistics from Hesse-Germany show as example, that a big part of the OSM primary (10%) and secondary (20%) ways are used in these cycle-routes, most of them without any cycleway=lane! In the trekking profile (with the default parameters) these ways get a lower cost as any other ways (track, cycleway etc...), so that the resulting routing is not safe and do not reflect what the Brouter can do! 2-surface=compactedFine_gravel ==> cost 1 But compacted (quality just below asphalt!) is better than fine_gravel The profile make a very limited usage of the surface tag 3-uphillcost penaltyThe current implementation in the trekking: assign downhillcost = 60 # %downhillcost% | Cost for going downhill | number assign downhillcost = if consider_elevation then downhillcost else 0 With the default value "consider_elevation=true", uphillcost remains =0, and this is a very poor usage of the "elevation" fonction as supported by the Brouter. example Route A:
Alternativ Route B: The user would certainly prefer "Route B" as he choosed "consider_elevation".... but Brouter will suggest "Route A" because no elevation costs are added during his calculation. 4- downhillcutoff and upillcutoff logic that avoids steep inclinesAlso when "consider_elevation" is changed to "false", bikers are not able to use ways with very steep inclines. assign downhillcost_ = 60 # %downhillcost_% | Cost for going downhill | number 5- consider_trafficDefault value is false, so that the traffic do not impact the routing. 6- smoothnesspenaltyThe surface tag is important, but the surface quality can very different between 2 highways with the same type and surface:
When available, the smoothness is a good help! Remark: 7- railway and barrier penaltiesOSM delivers detailed tags about railways and barriers, why not to add penalties when the cyclist have to pass them? assign railwaypenalty switch railway=level_crossing 155 0 Note: each rail-track is tagged, so the penalty depends on the number of rail-tracks to be crossed-and probably on the number of trains crossing that place per hour/day. assign barrierpenalty switch barrier= 0 Note: Barriers not only cost time, the risk of accidents increases. Here a new version containing these changes: But weaknesses remain (a.e. surface tag), and the maintenance remains difficult. Regards |
I agree that the tests is far from ideal, but unfortunately I didn't find a better way to test if param overriding works. BRouter only creates the 2nd GPX file when the track differs from the existing track. If you would pass |
@zod |
Your assumption of being smarter than the person who created the trekking profile leads to ill-conceived changes and I am simply not going to accept them. The logic you are trying to remove does exactly the right thing despite map errors. I have already proven that the alleged routing error in the first example you gave in this issue ticket is caused by incorrect map data, and here is the proof that it is no different in the second example: |
thanks for the kind words! @ other participants of this PR: in the first example Quelnix suspects a mapping error: the cycle_route would not use the secondary hw as mapped, but the parallel path! No proof is delivered for this! in the second example Quaelnix delivers a picture taken nearly 1 km outside the route, strange for a proof! Is it possible, that 10 % of the primary and 20% of the secondary hw in Hess are related BY ERRORS to cycle_route? |
Let us stay by facts. Please. Routing is very individual and many answers are correct. Change that appear to be critical:
At first glance I would say it doesn't matter what the starting value is.
May be a feature 'follow cycleroute' could help for trekking profile that follows the direction of a route but uses the saver way. When I use the original profile with |
We can reopen this pull request once you change your mind.
Within the "critical route part" the speed limit of primary highway is 50 km/h or less and your alternative looks like this: |
Here we are again. @quaelnix We can
Or maybe someone else would like to contribute a completely new trekking profile from their pool. |
None of the proposed changes is acceptable in its current form and as long as @EssBee59 is neither willing to properly test his changes nor to discuss them, this pull request is not going to happen. His behavior is completely unacceptable. Period.
Yes, of course we can discuss if there are ways to improve the
Yes, someone needs to put the route relation were it actually belongs and properly tag the path that has not been touched in 10 years and make this path the combined foot and cycleway it actually is. |
Hello afficherdev,
The statistics were created using overpass turbo here some examples: A further example... I tested with the current profile, the current profile + ignore_Cycleway=true and with the trekking_v11 including the changes suggested above |
Even with this relaxed query: https://overpass-turbo.eu/s/1zDU, the rate of false positives is extremly high:
-> Map is wrong.
-> Map is incomplete. Route relation again on the wrong highway ... I guess we don't have to talk about how the situation will be in other countries, where the density of mappers is much much lower than in Germany and where the trekking profile is also supposed to produce artefact free routes that will not get you stuck on paths where you have to carry your bike ... |
The result of this will be that you downgrade ways which are tagged as This is plain stupid and results in a near 100 % failure rate:
|
Another example of a gross misunderstanding of how the trekking profile works. Adding
|
I think it's sentences like this that make @EssBee59 a little more reserved:
Anyway, thanks for your samples, good basis for a discussion.
|
His complete inability to follow arguments is not new and now it is enough. Not to mention this .txt mess, broken markdown formatting in basically every post and the aparrent refusal to open his own pull requests. Again, I am not going to accept this anymore.
We need to talk about this because the design goal of the trekking profile was (and still is, in my opinion) to make it resistant to map errors.
What do you mean by that? The relation in question does carry a
|
This quote has other context, Original it was:
And first sample of your And I've found: it is member of the route Radnetz Stadt Darmstadt
Yes, my fail - short reading only. But then remark is the other way round, why cobblestone and fine_gravel are not in ispaved collection. Historical I guess. But I'm digressing from the topic. And a last remark on
Seems to be better in surface hierarchy then fine gravel.
Not everyone is born with developer skills. |
Yes, sorry, my bad.
No, the (almost exclusive) purpose of these two variables is to feed the If you start feeding this whitelist with things that might not be good, you're taking it ad absurdum and end up with the routing artefacts I showed above. You simply cannot look at one line of a profile and say this looks incorrect, lets change it. Doing it like that will almost always fail horribly.
To be honest, I don't know what to say anymore. If by now @EssBee59 is still not able to grasp the idea behind the cycleroute logic, then yes, maybe this is the end of the discussion. One last example (from: #479):
I agree that we should try our best to keep the performance of the trekking profile as high as possible. |
I added a little test for the variables inside a profile.
|
Here a new version for the trekking profile suggested by @EssBee59