Neighbours, near and far

#30DayMapChallenge · Day 10 · Prompting only

Every small area in the UK, all 46,832 of them, has a 2024 AlphaEarth embedding, made available by Imago: 64 numbers that sum up a year of satellite observations of the place. Compare each area with the ones it touches and you get 136,233 pairs of neighbours, which we can rank from most different to most alike.

These are three of them.

Staines Reservoirs next to the streets of Stanwell, Surrey: the most different neighbouring pair in the UK.

Two stretches of farmland in County Armagh: the most similar neighbouring pair in the UK.

Two halves of the same terraced streets in Ilford, east London: the most similar urban neighbours.

The most different: Staines Reservoirs and the streets of Stanwell next door, #1 of 136,233 pairs.
The most alike: two stretches of farmland in County Armagh.
The most alike in a city: two halves of the same terraced streets in Ilford.

The first is the one you’d guess. The other two are more interesting: the boundaries we use to count people often split places that, as far as the satellites can tell, are the same place.

Reading a card

Each card is a Polaroid of one pair of neighbouring areas. The two areas are outlined in orange and green over Esri satellite imagery, and everything else is washed out. Underneath are the areas’ official codes, the place, the cosine distance between their embeddings (0 means identical; the largest in the UK is 0.538) and its rank among all pairs. The UK locator shows where the pair is. The haiku says what the numbers can’t.

The post

The text that went out with the cards:

#30DayMapChallenge, day 10: prompting only.

Every small area in the UK (46,832 of them) has a 2024 AlphaEarth embedding, made available through Imago: 64 numbers that sum up a year of satellite observations. Compare each area with the ones it touches and you get 136,233 pairs of neighbours, ranked from most different to most alike.

Three of them:

  1. The most different: Staines Reservoirs and the streets of Stanwell next door.
  2. The most alike: two stretches of farmland in County Armagh.
  3. The most alike in a city: two halves of the same terraced streets in Ilford.

The first is the one you’d guess. The other two are more interesting: the boundaries we use to count people often split places that, as far as the satellites can tell, are the same place.

Everything here (the data processing, the maps, even the haiku) came from prompting Claude Code. No code written by hand.

#30DayMapChallenge #GeographicDataScience

The three cards on one canvas, for sharing: download (3780 × 2000 px).

How it was made

Day 10’s rule was prompting only: “make AI work for its money and produce something from start to finish in a chat window or on the command line”. Everything on this site was made in one conversation with Claude Code, from reading the data to the haiku and this website.

65prompts 2108words typed 361tool calls by Claude 97images Claude looked at 5days of work

It started with this:

#1 · Wed 4 Nov, 11:22
ok have a read at SPEC.md for context and we can start working. When you're ready, let's get cracking...

and went through a lot of ideas that didn’t make the cut. To dig in:

  • Backstory: the route from the brief to these three cards, chapter by chapter, with the dead ends and the prompts that turned each corner.
  • The prompts: every message the human typed, in order. On a prompting-only day, that’s the source code.
  • Transcript: the whole conversation, including Claude’s replies, every tool call and every image it looked at.
  • Notebooks: the analysis as it was run, ending with a short notebook that builds the submission from start to end.
  • Log: the exploration log kept along the way.