diff --git a/resources/boundaries/geonames/ad.yaml b/resources/boundaries/geonames/ad.yaml new file mode 100644 index 00000000..d8e9db01 --- /dev/null +++ b/resources/boundaries/geonames/ad.yaml @@ -0,0 +1,2 @@ +admin_codes: + admin1: state \ No newline at end of file diff --git a/resources/boundaries/geonames/ar.yaml b/resources/boundaries/geonames/ar.yaml new file mode 100644 index 00000000..667ba3c0 --- /dev/null +++ b/resources/boundaries/geonames/ar.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: state_district \ No newline at end of file diff --git a/resources/boundaries/geonames/at.yaml b/resources/boundaries/geonames/at.yaml new file mode 100644 index 00000000..f864424e --- /dev/null +++ b/resources/boundaries/geonames/at.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + # admin2 is a mix of state_district and city, need to list specifically \ No newline at end of file diff --git a/resources/boundaries/geonames/au.yaml b/resources/boundaries/geonames/au.yaml new file mode 100644 index 00000000..f864424e --- /dev/null +++ b/resources/boundaries/geonames/au.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + # admin2 is a mix of state_district and city, need to list specifically \ No newline at end of file diff --git a/resources/boundaries/geonames/ax.yaml b/resources/boundaries/geonames/ax.yaml new file mode 100644 index 00000000..552cbc65 --- /dev/null +++ b/resources/boundaries/geonames/ax.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: city \ No newline at end of file diff --git a/resources/boundaries/geonames/bd.yaml b/resources/boundaries/geonames/bd.yaml new file mode 100644 index 00000000..cdb1a6b9 --- /dev/null +++ b/resources/boundaries/geonames/bd.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + # unclear what admin2 is, maybe city \ No newline at end of file diff --git a/resources/boundaries/geonames/be.yaml b/resources/boundaries/geonames/be.yaml new file mode 100644 index 00000000..667ba3c0 --- /dev/null +++ b/resources/boundaries/geonames/be.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: state_district \ No newline at end of file diff --git a/resources/boundaries/geonames/bg.yaml b/resources/boundaries/geonames/bg.yaml new file mode 100644 index 00000000..552cbc65 --- /dev/null +++ b/resources/boundaries/geonames/bg.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: city \ No newline at end of file diff --git a/resources/boundaries/geonames/br.yaml b/resources/boundaries/geonames/br.yaml new file mode 100644 index 00000000..552cbc65 --- /dev/null +++ b/resources/boundaries/geonames/br.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: city \ No newline at end of file diff --git a/resources/boundaries/geonames/ca.yaml b/resources/boundaries/geonames/ca.yaml new file mode 100644 index 00000000..667ba3c0 --- /dev/null +++ b/resources/boundaries/geonames/ca.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: state_district \ No newline at end of file diff --git a/resources/boundaries/geonames/ch.yaml b/resources/boundaries/geonames/ch.yaml new file mode 100644 index 00000000..667ba3c0 --- /dev/null +++ b/resources/boundaries/geonames/ch.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: state_district \ No newline at end of file diff --git a/resources/boundaries/geonames/cz.yaml b/resources/boundaries/geonames/cz.yaml new file mode 100644 index 00000000..2ff55df3 --- /dev/null +++ b/resources/boundaries/geonames/cz.yaml @@ -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 diff --git a/resources/boundaries/geonames/de.yaml b/resources/boundaries/geonames/de.yaml new file mode 100644 index 00000000..667ba3c0 --- /dev/null +++ b/resources/boundaries/geonames/de.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: state_district \ No newline at end of file diff --git a/resources/boundaries/geonames/dk.yaml b/resources/boundaries/geonames/dk.yaml new file mode 100644 index 00000000..a9c7e37c --- /dev/null +++ b/resources/boundaries/geonames/dk.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + # admin2 is a mix of city and island, need to list specifically \ No newline at end of file diff --git a/resources/boundaries/geonames/do.yaml b/resources/boundaries/geonames/do.yaml new file mode 100644 index 00000000..552cbc65 --- /dev/null +++ b/resources/boundaries/geonames/do.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: city \ No newline at end of file diff --git a/resources/boundaries/geonames/dz.yaml b/resources/boundaries/geonames/dz.yaml new file mode 100644 index 00000000..667ba3c0 --- /dev/null +++ b/resources/boundaries/geonames/dz.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: state_district \ No newline at end of file diff --git a/resources/boundaries/geonames/es.yaml b/resources/boundaries/geonames/es.yaml new file mode 100644 index 00000000..667ba3c0 --- /dev/null +++ b/resources/boundaries/geonames/es.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: state_district \ No newline at end of file diff --git a/resources/boundaries/geonames/fi.yaml b/resources/boundaries/geonames/fi.yaml new file mode 100644 index 00000000..2760e8aa --- /dev/null +++ b/resources/boundaries/geonames/fi.yaml @@ -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 \ No newline at end of file diff --git a/resources/boundaries/geonames/fo.yaml b/resources/boundaries/geonames/fo.yaml new file mode 100644 index 00000000..552cbc65 --- /dev/null +++ b/resources/boundaries/geonames/fo.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: city \ No newline at end of file diff --git a/resources/boundaries/geonames/fr.yaml b/resources/boundaries/geonames/fr.yaml new file mode 100644 index 00000000..667ba3c0 --- /dev/null +++ b/resources/boundaries/geonames/fr.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: state_district \ No newline at end of file diff --git a/resources/boundaries/geonames/gb.yaml b/resources/boundaries/geonames/gb.yaml new file mode 100644 index 00000000..667ba3c0 --- /dev/null +++ b/resources/boundaries/geonames/gb.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: state_district \ No newline at end of file diff --git a/resources/boundaries/geonames/gt.yaml b/resources/boundaries/geonames/gt.yaml new file mode 100644 index 00000000..667ba3c0 --- /dev/null +++ b/resources/boundaries/geonames/gt.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: state_district \ No newline at end of file diff --git a/resources/boundaries/geonames/gu.yaml b/resources/boundaries/geonames/gu.yaml new file mode 100644 index 00000000..1b1995b5 --- /dev/null +++ b/resources/boundaries/geonames/gu.yaml @@ -0,0 +1,2 @@ +admin_codes: + admin1: city \ No newline at end of file diff --git a/resources/boundaries/geonames/hr.yaml b/resources/boundaries/geonames/hr.yaml new file mode 100644 index 00000000..3c263ba9 --- /dev/null +++ b/resources/boundaries/geonames/hr.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + # admin2 is a mix of city and city_district, need to list specifically \ No newline at end of file diff --git a/resources/boundaries/geonames/hu.yaml b/resources/boundaries/geonames/hu.yaml new file mode 100644 index 00000000..115ed128 --- /dev/null +++ b/resources/boundaries/geonames/hu.yaml @@ -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 \ No newline at end of file diff --git a/resources/boundaries/geonames/ie.yaml b/resources/boundaries/geonames/ie.yaml new file mode 100644 index 00000000..667ba3c0 --- /dev/null +++ b/resources/boundaries/geonames/ie.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: state_district \ No newline at end of file diff --git a/resources/boundaries/geonames/im.yaml b/resources/boundaries/geonames/im.yaml new file mode 100644 index 00000000..1b1995b5 --- /dev/null +++ b/resources/boundaries/geonames/im.yaml @@ -0,0 +1,2 @@ +admin_codes: + admin1: city \ No newline at end of file diff --git a/resources/boundaries/geonames/in.yaml b/resources/boundaries/geonames/in.yaml new file mode 100644 index 00000000..667ba3c0 --- /dev/null +++ b/resources/boundaries/geonames/in.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: state_district \ No newline at end of file diff --git a/resources/boundaries/geonames/is.yaml b/resources/boundaries/geonames/is.yaml new file mode 100644 index 00000000..552cbc65 --- /dev/null +++ b/resources/boundaries/geonames/is.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: city \ No newline at end of file diff --git a/resources/boundaries/geonames/it.yaml b/resources/boundaries/geonames/it.yaml new file mode 100644 index 00000000..667ba3c0 --- /dev/null +++ b/resources/boundaries/geonames/it.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: state_district \ No newline at end of file diff --git a/resources/boundaries/geonames/je.yaml b/resources/boundaries/geonames/je.yaml new file mode 100644 index 00000000..d8e9db01 --- /dev/null +++ b/resources/boundaries/geonames/je.yaml @@ -0,0 +1,2 @@ +admin_codes: + admin1: state \ No newline at end of file diff --git a/resources/boundaries/geonames/jp.yaml b/resources/boundaries/geonames/jp.yaml new file mode 100644 index 00000000..f864424e --- /dev/null +++ b/resources/boundaries/geonames/jp.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + # admin2 is a mix of state_district and city, need to list specifically \ No newline at end of file diff --git a/resources/boundaries/geonames/li.yaml b/resources/boundaries/geonames/li.yaml new file mode 100644 index 00000000..1b1995b5 --- /dev/null +++ b/resources/boundaries/geonames/li.yaml @@ -0,0 +1,2 @@ +admin_codes: + admin1: city \ No newline at end of file diff --git a/resources/boundaries/geonames/lk.yaml b/resources/boundaries/geonames/lk.yaml new file mode 100644 index 00000000..667ba3c0 --- /dev/null +++ b/resources/boundaries/geonames/lk.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: state_district \ No newline at end of file diff --git a/resources/boundaries/geonames/lt.yaml b/resources/boundaries/geonames/lt.yaml new file mode 100644 index 00000000..f864424e --- /dev/null +++ b/resources/boundaries/geonames/lt.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + # admin2 is a mix of state_district and city, need to list specifically \ No newline at end of file diff --git a/resources/boundaries/geonames/lu.yaml b/resources/boundaries/geonames/lu.yaml new file mode 100644 index 00000000..5e51e032 --- /dev/null +++ b/resources/boundaries/geonames/lu.yaml @@ -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 \ No newline at end of file diff --git a/resources/boundaries/geonames/md.yaml b/resources/boundaries/geonames/md.yaml new file mode 100644 index 00000000..8452ff49 --- /dev/null +++ b/resources/boundaries/geonames/md.yaml @@ -0,0 +1,2 @@ +admin_codes: + admin1: state_district \ No newline at end of file diff --git a/resources/boundaries/geonames/mp.yaml b/resources/boundaries/geonames/mp.yaml new file mode 100644 index 00000000..8452ff49 --- /dev/null +++ b/resources/boundaries/geonames/mp.yaml @@ -0,0 +1,2 @@ +admin_codes: + admin1: state_district \ No newline at end of file diff --git a/resources/boundaries/geonames/mt.yaml b/resources/boundaries/geonames/mt.yaml new file mode 100644 index 00000000..1b1995b5 --- /dev/null +++ b/resources/boundaries/geonames/mt.yaml @@ -0,0 +1,2 @@ +admin_codes: + admin1: city \ No newline at end of file diff --git a/resources/boundaries/geonames/mx.yaml b/resources/boundaries/geonames/mx.yaml new file mode 100644 index 00000000..667ba3c0 --- /dev/null +++ b/resources/boundaries/geonames/mx.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: state_district \ No newline at end of file diff --git a/resources/boundaries/geonames/my.yaml b/resources/boundaries/geonames/my.yaml new file mode 100644 index 00000000..667ba3c0 --- /dev/null +++ b/resources/boundaries/geonames/my.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: state_district \ No newline at end of file diff --git a/resources/boundaries/geonames/nl.yaml b/resources/boundaries/geonames/nl.yaml new file mode 100644 index 00000000..552cbc65 --- /dev/null +++ b/resources/boundaries/geonames/nl.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: city \ No newline at end of file diff --git a/resources/boundaries/geonames/no.yaml b/resources/boundaries/geonames/no.yaml new file mode 100644 index 00000000..552cbc65 --- /dev/null +++ b/resources/boundaries/geonames/no.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: city \ No newline at end of file diff --git a/resources/boundaries/geonames/nz.yaml b/resources/boundaries/geonames/nz.yaml new file mode 100644 index 00000000..667ba3c0 --- /dev/null +++ b/resources/boundaries/geonames/nz.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: state_district \ No newline at end of file diff --git a/resources/boundaries/geonames/ph.yaml b/resources/boundaries/geonames/ph.yaml new file mode 100644 index 00000000..af117b32 --- /dev/null +++ b/resources/boundaries/geonames/ph.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: country_region + # admin2 is a mix of state_district and city, need to list specifically \ No newline at end of file diff --git a/resources/boundaries/geonames/pk.yaml b/resources/boundaries/geonames/pk.yaml new file mode 100644 index 00000000..667ba3c0 --- /dev/null +++ b/resources/boundaries/geonames/pk.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: state_district \ No newline at end of file diff --git a/resources/boundaries/geonames/pl.yaml b/resources/boundaries/geonames/pl.yaml new file mode 100644 index 00000000..667ba3c0 --- /dev/null +++ b/resources/boundaries/geonames/pl.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: state_district \ No newline at end of file diff --git a/resources/boundaries/geonames/pr.yaml b/resources/boundaries/geonames/pr.yaml new file mode 100644 index 00000000..29de2571 --- /dev/null +++ b/resources/boundaries/geonames/pr.yaml @@ -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 \ No newline at end of file diff --git a/resources/boundaries/geonames/pt.yaml b/resources/boundaries/geonames/pt.yaml new file mode 100644 index 00000000..667ba3c0 --- /dev/null +++ b/resources/boundaries/geonames/pt.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: state_district \ No newline at end of file diff --git a/resources/boundaries/geonames/ro.yaml b/resources/boundaries/geonames/ro.yaml new file mode 100644 index 00000000..d614b9c4 --- /dev/null +++ b/resources/boundaries/geonames/ro.yaml @@ -0,0 +1,4 @@ +admin_codes: + admin1: state + # These are mostly admin_level=6, which maps to city in OSM + admin2: city \ No newline at end of file diff --git a/resources/boundaries/geonames/ru.yaml b/resources/boundaries/geonames/ru.yaml new file mode 100644 index 00000000..667ba3c0 --- /dev/null +++ b/resources/boundaries/geonames/ru.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: state_district \ No newline at end of file diff --git a/resources/boundaries/geonames/se.yaml b/resources/boundaries/geonames/se.yaml new file mode 100644 index 00000000..552cbc65 --- /dev/null +++ b/resources/boundaries/geonames/se.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: city \ No newline at end of file diff --git a/resources/boundaries/geonames/si.yaml b/resources/boundaries/geonames/si.yaml new file mode 100644 index 00000000..b4586be9 --- /dev/null +++ b/resources/boundaries/geonames/si.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: city + # admin2 is a mix of city and city_district, need to list specifically \ No newline at end of file diff --git a/resources/boundaries/geonames/sk.yaml b/resources/boundaries/geonames/sk.yaml new file mode 100644 index 00000000..bfbe651f --- /dev/null +++ b/resources/boundaries/geonames/sk.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state_district + # admin2 is a mix of state_district and city, need to list specifically \ No newline at end of file diff --git a/resources/boundaries/geonames/sm.yaml b/resources/boundaries/geonames/sm.yaml new file mode 100644 index 00000000..1b1995b5 --- /dev/null +++ b/resources/boundaries/geonames/sm.yaml @@ -0,0 +1,2 @@ +admin_codes: + admin1: city \ No newline at end of file diff --git a/resources/boundaries/geonames/th.yaml b/resources/boundaries/geonames/th.yaml new file mode 100644 index 00000000..18adfdc8 --- /dev/null +++ b/resources/boundaries/geonames/th.yaml @@ -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" \ No newline at end of file diff --git a/resources/boundaries/geonames/tr.yaml b/resources/boundaries/geonames/tr.yaml new file mode 100644 index 00000000..667ba3c0 --- /dev/null +++ b/resources/boundaries/geonames/tr.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: state_district \ No newline at end of file diff --git a/resources/boundaries/geonames/us.yaml b/resources/boundaries/geonames/us.yaml new file mode 100644 index 00000000..667ba3c0 --- /dev/null +++ b/resources/boundaries/geonames/us.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: state_district \ No newline at end of file diff --git a/resources/boundaries/geonames/yt.yaml b/resources/boundaries/geonames/yt.yaml new file mode 100644 index 00000000..1b1995b5 --- /dev/null +++ b/resources/boundaries/geonames/yt.yaml @@ -0,0 +1,2 @@ +admin_codes: + admin1: city \ No newline at end of file diff --git a/resources/boundaries/geonames/za.yaml b/resources/boundaries/geonames/za.yaml new file mode 100644 index 00000000..667ba3c0 --- /dev/null +++ b/resources/boundaries/geonames/za.yaml @@ -0,0 +1,3 @@ +admin_codes: + admin1: state + admin2: state_district \ No newline at end of file