christopheprudent / pow

initialize a db with hierarchized territories and addresses (for each country, beginning w/ FR)
0 stars 1 forks source link

design DB model for addresses & territories #14

Closed christopheprudent closed 1 year ago

christopheprudent commented 1 year ago

idea is to store elements of address (street, housenumber, ...) as dictionnary (uniqness) and next to build an entity for address, which have (or not) each element

an address :

a french address belongs to a territory (area defined by french postal repository as combinaison of optional old municipality, zipcode and municipality) and is maked up :

hope this model will be compliant for all countries :blush:

christopheprudent commented 1 year ago

works about are available into wiki: https://github.com/christopheprudent/pow/wiki/DB-model

christopheprudent commented 1 year ago

association of address to one or more other referential (entity: address_cross_reference) can be useful to store results of miscellaneous matches, like: