[geonames] Adding basic GeoNames admin mappings for all countries we have postal codes lists for so some form of training data can be created for postcodes not listed in OSM

This commit is contained in:
Al
2016-08-15 01:09:17 -04:00
parent 7f4e636fc5
commit 5cff7b85bd
60 changed files with 184 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
admin_codes:
admin1: state

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: state_district

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
# admin2 is a mix of state_district and city, need to list specifically

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
# admin2 is a mix of state_district and city, need to list specifically

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: city

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
# unclear what admin2 is, maybe city

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: state_district

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: city

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: city

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: state_district

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: state_district

View File

@@ -0,0 +1,4 @@
admin_codes:
# The GeoNames admin1 boundaries are admin_level=5 or 6 in OSM
# However, they do appear to be states, might need to update Czech OSM config
admin1: state_district

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: state_district

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
# admin2 is a mix of city and island, need to list specifically

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: city

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: state_district

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: state_district

View File

@@ -0,0 +1,5 @@
admin_codes:
# The GeoNames admin1 boundaries are admin_level=6 in OSM
# However, they do appear to be states, might need to update Finnish OSM config
admin1: state_district
admin2: state_district

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: city

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: state_district

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: state_district

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: state_district

View File

@@ -0,0 +1,2 @@
admin_codes:
admin1: city

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
# admin2 is a mix of city and city_district, need to list specifically

View File

@@ -0,0 +1,4 @@
admin_codes:
# The GeoNames admin1 boundaries are admin_level=6 in OSM
# However, they do appear to be states, might need to update Hungary OSM config
admin1: state_district

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: state_district

View File

@@ -0,0 +1,2 @@
admin_codes:
admin1: city

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: state_district

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: city

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: state_district

View File

@@ -0,0 +1,2 @@
admin_codes:
admin1: state

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
# admin2 is a mix of state_district and city, need to list specifically

View File

@@ -0,0 +1,2 @@
admin_codes:
admin1: city

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: state_district

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
# admin2 is a mix of state_district and city, need to list specifically

View File

@@ -0,0 +1,4 @@
admin_codes:
# The admin1 names don't appear to exist in OSM, but would be states otherwise
admin1: state
admin2: state_district

View File

@@ -0,0 +1,2 @@
admin_codes:
admin1: state_district

View File

@@ -0,0 +1,2 @@
admin_codes:
admin1: state_district

View File

@@ -0,0 +1,2 @@
admin_codes:
admin1: city

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: state_district

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: state_district

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: city

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: city

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: state_district

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: country_region
# admin2 is a mix of state_district and city, need to list specifically

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: state_district

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: state_district

View File

@@ -0,0 +1,6 @@
admin_codes:
admin1: state_district
# The notion of a "barrio" in the official sense in PR is not quite a
# municipality, and has no current official purpose, but might be useful
# to have the name + "barrio" version available in libpostal
admin2: city

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: state_district

View File

@@ -0,0 +1,4 @@
admin_codes:
admin1: state
# These are mostly admin_level=6, which maps to city in OSM
admin2: city

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: state_district

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: city

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: city
# admin2 is a mix of city and city_district, need to list specifically

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state_district
# admin2 is a mix of state_district and city, need to list specifically

View File

@@ -0,0 +1,2 @@
admin_codes:
admin1: city

View File

@@ -0,0 +1,8 @@
admin_codes:
admin1: state
overrides:
id:
# Bangkok the state is treated as a city
# Note: we do this in OSM to get the boundary, so duplicate in GeoNames
"1609348": "city"

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: state_district

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: state_district

View File

@@ -0,0 +1,2 @@
admin_codes:
admin1: city

View File

@@ -0,0 +1,3 @@
admin_codes:
admin1: state
admin2: state_district