Hello World

Addresses, places and geocoding

All chapters

Part 3 · Numbers, money, time and place

Addresses, places and geocoding

Chapter 14 17 min read 11 sections

Picture a customer in Dubai at your checkout. They fill in their address and hit a required field labelled "Postcode". The UAE doesn't use postcodes, and most mail goes to PO boxes. So they type "00000", or "N/A", or they close the tab.

Nobody decided to turn away customers from the UAE. Someone built a form around the addresses they knew, and made every field required because tidy forms do that.

Geocoding shows you just how differently countries and regions do things. An address looks like simple, structured data: a house number, a street, a town and a postcode. In practice, every one of those parts is missing, different or optional somewhere in the world. This chapter covers how addresses vary, how to design forms that accept them, and what happens when you turn them into points on a map.

Keep reading

The rest of this chapter is for readers of the book

Get the book to read the rest of this chapter and every other one, the field guide and the glossary, and to download the whole book as a PDF.

Still to come in this chapter

  • Every part of an address is missing somewhere
  • The parts of an address, and their order
  • Postcodes
  • States, provinces, counties and everything in between
  • Place names in more than one language
  • Designing address forms
  • Validating without rejecting real addresses
  • Storing addresses
  • Geocoding
  • Checklist
  • Further reading