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: Plugin for Environmental protection zones #6427

Open
alyonapinchuk opened this issue Jan 9, 2019 · 4 comments
Open

Feature request: Plugin for Environmental protection zones #6427

alyonapinchuk opened this issue Jan 9, 2019 · 4 comments
Assignees
Labels

Comments

@alyonapinchuk
Copy link
Contributor

@alyonapinchuk alyonapinchuk commented Jan 9, 2019

Unfortunately, there are more and more of the environmental protection zones coming up in Germany, like e.g. this one here:
https://www.stuttgart.de/diesel-verkehrsverbot
Not only here, but also in other cities and also in France, these zones will be established. It is for now restricting cars with diesel engines, later also others.

Would it be possible to implement a plugin that will do routing around these restricted areas?

@mahlzahn

This comment has been minimized.

Copy link

@mahlzahn mahlzahn commented Mar 21, 2019

See here (in German) already some implementation by someone: https://blog.christosoft.de/2019/01/navi-diesel-fahrverbote-umfahren-osmand-routing/

@vshcherb vshcherb added this to the Future milestone milestone Mar 21, 2019
@crazy4chrissi

This comment has been minimized.

Copy link

@crazy4chrissi crazy4chrissi commented Mar 22, 2019

I am the author of the blog article listed above. The problem with the environmental protection zone ("Dieselfahrverbot") in Stuttgart is that it is not a single street but a whole area. I don't know how to make OSMand avoid this area. I thought it would be the same as avoiding borders. But I found that the option to avoid borders is actually not avoiding borders ("boundarys") but border crossings (points). Of course, there are no such points in the map when crossing the border of the environmental protection zone. And it is not feasible to add them, as it requires adding one for each street that is crossing the border of the zone. This is really error-prone, as it requires somebody adding a new street crossing the border would also need to add that point.

But as mentioned in the blog post, I added the attribute to openStreetMap, so it is just a matter of making osmAnd avoid it:
grafik

@pietervdvn

This comment has been minimized.

Copy link

@pietervdvn pietervdvn commented Apr 4, 2019

Related to #4922 (although the other one is mainly about rendering), PR for rendering is here: osmandapp/OsmAnd-resources#550

@pietervdvn

This comment has been minimized.

Copy link

@pietervdvn pietervdvn commented Apr 6, 2019

The best option would be to add another phase to creating the .obf-files:

  • Make a first pass, and keep track of all LEZ
  • Make a second pass. Every street intersecting with the LEZ gets cut on the intersection; every street within the LEZ gets conditional access tags.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants
You can’t perform that action at this time.