-
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
Avoiding noise and air pollution from close-by highways #476
Comments
Yes, that is something I also would like to see. Implementing it in BRouter is not that easy, first you need some source that gives the data on noise/air-pollution and for me greenness. Then you need to add it to each of the roads the .rd5 datafiles and finally you need to incorporate it in a profile. Things are already discussed in #258. |
Thanks for the quick response and the reference to #258! :) Regarding the avoidance of nearby highways, I wonder whether a "good enough" solution would be to have penalties on ways that are within a certain distance (and optionally a certain direction) of certain types of ways. For example:
Unlike most(?) appproaches discussed in #258, this approach wouldn't require additional data sources. |
I can imagine it could be extremely demanding on computation resources, and partially on suitable algorithm too. IMHO, better is not to blindly create routes, nor using nogos, but using visual route planner, e.g. in brouter-web,or LocusMap planner. |
Yes, this seems likely. An implementation might need a good level of sophistication to be suitable even for simple routing tasks. I wonder whether there are algorithms from computational geometry or computer graphics that could be adapted for this feature. For example, I think that there is a similarity with shadow-casting.
Visual route planning via manually added waypoints certainly has its place. But I think it can be tedious, and also difficult when one is unfamiliar with the territory. I also like to use brouter for "route discovery": Tweak some parameters and see what routes brouter may come up with. Penalties on nearby highways would make this approach much more powerful IMHO. |
My profiles, or their template in the first place, are based on the idea of tweaking. :-) |
Yes, I agree, such an enhancement (if possible at all) is very complex, many big changes are prerequisited, but a lot of users liked to get it! #258 was the first of many issues in this domain, Norber created a new one in last summer ( #460 ) Further links: https://github.com/nrenner/brouter-web/wiki/Round-trip-suggestions https://trailrouter.com/blog/how-trail-router-works/ A basic idea is to extend the rd5 file with the new properties (nearly the same way the elevation is calculated) But again, the effort to enhance the Brouter could get very high... Regards |
I realized that the cost of noise pollution ought to be scaled by the time spent in it. E.g. when climbing a way next to a noisy motorway the cost of noise pollution should weigh heavier than when we're looking at the descent in the opposite direction. For air pollution, the cost should probably be scaled by the physical power expended on the affected way. My reasoning is that the health damage due to pollutants may be roughly proportional to the total volume of pollutants breathed in, which in turn I'd expect to be roughly proportional to the physical power expended. |
Hello, Of course no contradiction! anyway: assuming a "noise" factor/tag becomes soon available, then you can easyly inject this parameter in the "elevatation penalty" and so implement your whish! example in the script: you can set assign uphillcost You can test this on my test-instance (a prototype with only Germany routing map): regards |
Thanks for the example and for pointing me at your test instance, @EssBee59! In order to understand the impact of the new tags, it would be great if the analysis panel could include them. E.g. in addition to the surface types it could show the |
Hello, -if problems still exist you should clear the cache of your browser (or F5 ctrl + F5 etc...) |
@EssBee59, that won't work because |
When cycling I usually try to avoid ways that are next to busy roads such as
highway=primary
or downwind, say 1km, from ahighway=motorway
. Is there a way to express such preferences in profiles? If not so, what would it take to add such a feature?Currently, I'll manually add no-go-areas to adjust routes to my liking, but this is rather tedious.
The text was updated successfully, but these errors were encountered: