Closed adam-lynch closed 2 years ago
I think, this key may be used for filtering out everything that is not a real road automatically.
@johrpan I actually use that already. I even exclude sub-categories of highway
. See here: https://github.com/adam-lynch/back-of-your-hand/blob/main/source/utilities/getData.ts#L56-L89
What's to be done now is to look into specific complaints and see if it's a sub-category that be filtered. If not, then maybe there's some other way to exclude it. There's a chance it's something we'd want to keep 99% of the time though / an OSM data issue.
Tools that help:
@adam-lynch Sorry, my bad.
However, I think that lots of those can and/or should be left out. By following the descriptions in the OpenStreetMap Wiki and experimenting a bit using the Overpass API – thanks for the link – I found the following set of highway values that seems to exactly match my expectations, at least in my home area:
In my opinion, this would be everything that matches the definition of being a "street".
There are some minor things that arguably be included, like e.g. "footway". But it has more false positives than actual candidates.
I've removed a good few (of the ones you didn't list) to begin with. Some were good (e.g. service, steps) in Cork, Ireland; https://overpass-turbo.eu/s/1haX
Reminder: only elements with a name are used. A catch might be if in some countries the OSM data has bad names like "Steps" (or the local language equivalent) for steps
I've confirmed that all of the original reports are fixed
From Hacker News:
- myself248, https://news.ycombinator.com/item?id=30735746
- SECProto, https://news.ycombinator.com/item?id=30737042
- SECProto, https://news.ycombinator.com/item?id=30737448