Ah! So this can be configured to cover the planet down to house number at least.

Ah! So this can be configured to cover the planet down to house number at least. Smallest to largest. Add Planet, Solar System, Galaxy if you want to go broader.
 
Sample:
house_number: 17
road: Rue du Médecin-Colonel Calbairac
neighbourhood: Lafourguette
suburb: Toulouse Ouest
postcode: 31000
city: Toulouse
county: Toulouse
state: Midi-Pyrénées
country: France
country_code: FR
 
The file.
 
# ordered list, smallest to largest
name: house_number
aliases:
– street_number
name: house
aliases:
– building
– public_building
– isolated_dwelling
name: road
aliases:
– footway
– street
– street_name
– residential
– path
– pedestrian
– road_reference
– road_reference_intl
– square
– place
name: village
aliases:
– hamlet
– locality
– croft
name: neighbourhood
aliases:
– suburb
– city_district
– district
– quarter
– borough
– city_block
– residential
– commercial
– industrial
– houses
– subdivision
– allotments
name: postal_city
name: city
aliases:
– town
name: municipality
aliases:
– local_administrative_area
name: county
aliases:
– county_code
name: state_district
name: postcode
aliases:
– partial_postcode
name: state
aliases:
– province
– state_code
name: region
name: island
name: country
aliases:
– country_name
name: country_code
name: continent
 
https://github.com/OpenCageData/address-formatting
—-
It’s getting it definitive that’s satisfying. I wondered how to code “building” – and it’s simply considered “house”, which can get ignored on one building properties.
 ===

 

Leave a comment

Your email address will not be published. Required fields are marked *


seven + = 8

Leave a Reply