Skip to content

Commit ce7fdd5

Browse files
committed
Pull through additional OSM and Overture metadata fields.
1 parent d0b20be commit ce7fdd5

5 files changed

Lines changed: 609 additions & 35 deletions

File tree

config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ download:
4646
filter_keys: ['shop', 'healthcare', 'leisure', 'amenity', 'tourism', 'office', 'craft', 'historic']
4747
extract_keys: [
4848
'addr:city','addr:country','addr:housename','addr:housenumber','addr:postcode',
49-
'addr:state','addr:street','addr:unit','amenity','atm','bar','bicycle',
49+
'addr:state','addr:street','addr:unit','access','amenity','atm','bar','bicycle',
5050
'bicycle_parking','brand','brand:wikidata','building','check_date',
5151
'check_date:opening_hours','craft','cuisine','description','education','email',
5252
'emergency','fountain','geometry','healthcare','healthcare:speciality','historic',

scripts/conflation/conflate.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,22 @@ def log_rss(label: str) -> None:
173173
OSM_MERGE_COLS = [
174174
"osm_id", "osm_type", "name", "brand",
175175
"conf_mean", "conf_lower", "conf_upper", "geometry",
176+
# Address subfields
177+
"addr:housenumber", "addr:street", "addr:unit",
178+
"addr:city", "addr:state", "addr:postcode", "addr:country",
179+
# Contact + hours + access
180+
"phone", "website", "opening_hours", "access",
176181
]
177182
OVERTURE_MERGE_COLS = [
178183
"overture_id", "overture_name", "brand_name",
179184
"confidence", "geometry",
185+
# Address subfields (no housenumber / unit on the Overture side)
186+
"overture_addr_street", "overture_addr_city",
187+
"overture_addr_state", "overture_addr_postcode",
188+
"overture_addr_country",
189+
# Contact arrays + alternates
190+
"overture_websites", "overture_phones", "overture_socials",
191+
"overture_categories_alternate",
180192
]
181193

182194

0 commit comments

Comments
 (0)