[openaddresses] adding Puerto Rico (listed under US but anything with an ISO-3166 code is treated as a country in libpostal). Adding neighborhoods globally where we have them
This commit is contained in:
@@ -60,7 +60,7 @@ global:
|
|||||||
|
|
||||||
# Turned off by default to avoid performance penalty for reverse geocoding
|
# Turned off by default to avoid performance penalty for reverse geocoding
|
||||||
add_osm_boundaries: false
|
add_osm_boundaries: false
|
||||||
add_osm_neighborhoods: false
|
add_osm_neighborhoods: true
|
||||||
|
|
||||||
# Units have strong restrictions, have to be a number or hyphenated number
|
# Units have strong restrictions, have to be a number or hyphenated number
|
||||||
non_numeric_units: false
|
non_numeric_units: false
|
||||||
@@ -90,9 +90,9 @@ countries:
|
|||||||
language: fr
|
language: fr
|
||||||
- filename: brussels-nl.csv
|
- filename: brussels-nl.csv
|
||||||
language: nl
|
language: nl
|
||||||
|
|
||||||
us:
|
us:
|
||||||
cldr_country_probability: 0.05
|
cldr_country_probability: 0.05
|
||||||
add_osm_neighborhoods: true
|
|
||||||
ignore_fields_containing:
|
ignore_fields_containing:
|
||||||
city:
|
city:
|
||||||
- "\\bcounty\\b"
|
- "\\bcounty\\b"
|
||||||
@@ -1280,6 +1280,13 @@ countries:
|
|||||||
- filename: venango.csv
|
- filename: venango.csv
|
||||||
- filename: wayne.csv
|
- filename: wayne.csv
|
||||||
|
|
||||||
|
pr:
|
||||||
|
# Don't add state=PR, Puerto Rico is treated as a country in libpostal
|
||||||
|
cldr_country_probability: 1.0
|
||||||
|
language: es
|
||||||
|
files:
|
||||||
|
- filename: statewide.csv
|
||||||
|
|
||||||
ri:
|
ri:
|
||||||
add:
|
add:
|
||||||
state: RI
|
state: RI
|
||||||
|
|||||||
Reference in New Issue
Block a user