3 ms·
My boil the ocean dream revolves around the idea that addresses are inherently hierarchical but we present them in this screwball mixed format. the address sho
by somat 2y ago
My boil the ocean dream revolves around the idea that addresses are inherently hierarchical but we present them in this screwball mixed format.
the address should be(I will admit your address mixes a few level so my example may be incorrect)
/USA/98158/WA/SeaTac/Departures Road/bay 20/SEA Seattle International Airport
I always store a description with each one.
/country/zip code/city/street/bay/address
Or you could go full ldap
/country=USA/zip=98158/state=WA/city=SeaTac/street=Departures Road/bay=20/address=SEA Seattle International Airport
but I hate the way that looks.
And actually on topic, in many Utah cities the street address are sort of like that 500 south, 3000 west, etc. their reference point is the center of the known universe... the morman tabernacle naturally.
- mjevans 2y agoAt least for USPS address specification the syntax is roughly: * The lowest line is the most coarse and sufficient to route to a major sorting facility. * There's an implicit United States of America line under that, but International mail also uses the lowest line as major routing. (I guess customs I/O comes after that, and then it hits the foreign carrier if handing off.) * Physical location for a traditional address is the next 'line or two' above that. Usefully for a human holding a thing on a street (after sorting) the numeric address is first on that line set. Then the other bits of the address follow, usually a road designation or some zone thing; this line is little-endien first. * A building and/or person name are the top, often one line, sometimes two. This is probably why PlusCodes retains a short human friendly string specification for a major local marker. Like a city or major municipal facility that's unlikely to move over time. Effectively it's the same as that last line or two of USPS addresses. The + mark in the syntax is similar to a numeric decimal point, while also clearly breaking the major and minor flow elements.