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

Classificator for distinguishing urban from rural roads #15

Open
FlorusCiphersmith opened this issue Jul 12, 2021 · 2 comments
Open

Classificator for distinguishing urban from rural roads #15

FlorusCiphersmith opened this issue Jul 12, 2021 · 2 comments
Assignees

Comments

@FlorusCiphersmith
Copy link
Member

The legal minimum distance for overtaking depends on whether the road is located within or outside a built-up area.
The OpenStreetMap way tag "zone:traffic" basically provides this information. However, it is not used for annotation in many regions. Currently, the distance limit is chosen as 1,5m by default, which is thus wrong often.

The proposed solution is to introduce a hand-crafted or trained binary classifier which predicts from existing way properties such as speed limits whether this is an urban or rural road and annotates ways accordingly. This prediction is always outvoted by the "zone:traffic" tag.

@opatut
Copy link
Member

opatut commented Jul 13, 2021

Some stats about the zone:traffic tag: https://taginfo.openstreetmap.org/keys/zone:traffic#values

It is clear from that list, that

  • The current implementation works only in Germany (with the DE: prefixes).
  • We've missed a lot of possible tag values. Of course, OSM is a bit messy (since you can put in anything), but at least we should understand a tag like zone:traffic=DE:zone30, which represents about 5% of the used values for this tag, about 7800 times.

When implementing this, try to make it work regardless of the country you're in. Make sure to have some generic fallback, but consider that traffic in France works different from traffic in Germany.

@opatut
Copy link
Member

opatut commented Jul 13, 2021

Also compare its global distribution with the alternative maxspeed :)

@FlorusCiphersmith FlorusCiphersmith self-assigned this Aug 16, 2021
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

2 participants