Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

Analyze Tag Usage Frequency #175

Open
droogmic opened this issue May 1, 2022 · 6 comments
Open

Analyze Tag Usage Frequency #175

droogmic opened this issue May 1, 2022 · 6 comments
Labels
help wanted Extra attention is needed

Comments

@droogmic
Copy link
Collaborator

droogmic commented May 1, 2022

It would be good to have an ordered list of tags (key + val) used in ways, such that we can prioritize support.
We can then make milestones tracking our coverage of all tags used in >1% of ways, then 0.1% of ways, etc.

e.g. https://taginfo.openstreetmap.org/tags/oneway=yes is used in 1.77% of ways.

@droogmic droogmic added the help wanted Extra attention is needed label May 1, 2022
@droogmic
Copy link
Collaborator Author

droogmic commented May 8, 2022

https://taginfo.openstreetmap.org/keys/highway#combinations

> 1%

  • name
  • surface
  • oneway
  • maxspeed
  • lanes
  • access
  • ref
  • tracktype
  • lit
  • bicycle
  • foot
  • bridge
  • footway
  • sidewalk
  • smoothness

> 0.1%

  • public_transport
  • width
  • bus
  • motor_vehicle

@dabreegster
Copy link
Contributor

Should we exclude name and ref from this list? I can't see a very direct reason they'd influence current osm2lanes output, or a reason why to plumb them along in the output.

@droogmic
Copy link
Collaborator Author

droogmic commented May 8, 2022 via email

@dabreegster
Copy link
Contributor

Similarly, lit and bridge and other attributes are common to the entire road. Maybe we should plumb through things like this, or maybe we should hand people the Tags too? Otherwise it could be scope creep to have fields in the struct to represent everything

@droogmic
Copy link
Collaborator Author

droogmic commented May 8, 2022 via email

@BudgieInWA
Copy link
Collaborator

What a great idea! I have been thinking to myself "is tag X actually combined with tag Y in the wild, or can we skip support for the combo". The taginfo combinations tab is a great resource, and I've been learning how to use OverpassQL properly, to answer questions like that too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants