-
-
Notifications
You must be signed in to change notification settings - Fork 712
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
A list of possibly deprecated tags that are still used as special phrases #103
Comments
Somebody really needs to go through the wiki pages and remove these class/tag combinations in order to get rid of them in Nominatim. |
@lonvia Can you explain your wiki change request in more detail? |
The special phrases are taken from the language tables in der Wiki here: https://wiki.openstreetmap.org/wiki/Nominatim/Special_Phrases To get rid of the special phrases, the entries need to be removed in all the tables in all languages. |
So basically all tags listed in the first comment should be removed at this wiki pages? |
jup |
Did someone cross-check this list? Why is e.g. natural=valley considered "outdated, misspelled or otherwise bogus"? Maybe it's the only tag from the list that should be kept. Removing this list of tags from the wiki pages sounds easy and can be done with a little script. But only if we agree on which ones to remove. |
because at the time of writing it didn't have a wiki page and wasn't used often enough for taginfo to consider it popular (on http://taghistory.raifer.tech/ you can check that in early 2014 it was indeed not yet used very often). I've removed it from the list now. |
Oh, I see. In that case I intend to update the special phrases list in the next few days. |
Done. In case anyone wants to know how I did this:
|
So, I wrote this script that cross-checks all key-value combinations from Nominatim's special phrases lists with the taginfo database to find outdated, misspelled or otherwise bogus candidates. Tags that can't be found on neither the tables for popular tags nor the table for wiki-documented tags are filtered out. (I've already done a very similar analysis for the openstreetmap-carto stylesheet and thought that it might be a good idea for Nominatim as well.)
In the end I've come up with the following list of tags that are used by Nominatim, but are undocumented and not used widely:
amenity
historic
landuse
natural
place
railway
shop
tourism
waterway
The text was updated successfully, but these errors were encountered: