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

Add support for EU tunnel codes #1786

Merged
merged 3 commits into from
Nov 18, 2019
Merged

Conversation

otbutz
Copy link
Contributor

@otbutz otbutz commented Nov 11, 2019

This is a followup PR for the discussion in #1711 which adds the ability to honor restrictions on the transport of hazardous goods through tunnels.

Changes so far:

  • added support for alternative tagging schemas hazmat:adr_tunnel_cat and hazmat:tunnel_cat
  • check for the presence of tunnel=yes when dealing with hazmat subtags like hazmat:B to avoid collisions with tags in Finland.

You can run the following overpass turbo query to visualize the ways with supported tag combinations:

[out:json][timeout:25];
// gather results
(
  way["hazmat:tunnel_cat"];
  way["hazmat:adr_tunnel_cat"];
  way["hazmat:A"="no"]["tunnel"="yes"];
  way["hazmat:B"="no"]["tunnel"="yes"];
  way["hazmat:C"="no"]["tunnel"="yes"];
  way["hazmat:D"="no"]["tunnel"="yes"];
  way["hazmat:E"="no"]["tunnel"="yes"];
);
// print results
out body;
>;
out skel qt;

 overpass turbo
grafik

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

Successfully merging this pull request may close these issues.

2 participants