Smallest to biggest. It’s like 18 boxes inside of boxes inside of boxes (a road can be a rectangular box with houses inside). attention house_number house road village neighbourhood postal_city city municipality county state_district postcode state region island country country_code continent It functions as a universal postal code reformatter in real life without exceptions so I don’t have to worry about missing parts in this range, but wrapping my brain around some of them in this will take a bit. I had a lot of these in my mental model but not all of them.

Smallest to biggest. It’s like 18 boxes inside of boxes inside of boxes (a road can be a rectangular box with houses inside).
 
attention
house_number
house
road
village
neighbourhood
postal_city
city
municipality
county
state_district
postcode
state
region
island
country
country_code
continent
 
It functions as a universal postal code reformatter in real life without exceptions so I don’t have to worry about missing parts in this range, but wrapping my brain around some of them in this will take a bit. I had a lot of these in my mental model but not all of them.
For specific usage in each countries:
https://github.com/OpenCageData/address-formatting/blob/master/conf/countries/worldwide.yaml
===

Leave a comment

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


five − = 1

Leave a Reply