About Services Tools Blog Contact us

Climbing Centre Radius Search

Finds climbing centres within a distance of a UK postcode or a town and shows them on the home search. Locations come from a local table first, then postcodes.io, and are saved.

  • Mapping & Geospatial
  • Leisure and sport
  • Website
  • Product
  • Hybrid
  • 2026

The problem

A national list does not say which centres are near the postcode someone is travelling from. Once the distance is known, indoor and outdoor sites also need to be told apart.

What it does

A visitor types a UK postcode or a place name. A postcode becomes a map position, and a place name is checked against a local table, then saved positions, then postcodes.io, and the result is saved. Centres inside the distance are listed nearest first, with an optional indoor or outdoor filter. An empty search shows featured centres.

Outcomes

  • A traveller sees centres near a postcode instead of an alphabetical national list.
  • A town name works when the visitor has no postcode.
  • Indoor and outdoor sites can be separated.
  • Lookups are saved, so repeat searches skip the lookup.

Simplified mockup

Interactive preview with sample data. Nothing is sent to a server.

Centres near you Featured

Search
Lookup
Waiting for a postcode or a town
  1. Read
  2. Local table
  3. Cache
  4. Sort
Sample area cyan indoor, amber outdoor
Kilnford Lowfen Brackhaven Quarry End Halebrook 10 miles
Featured, because the box is empty
CentreTypePlace
The KilnIndoorKilnford
Ropewalk BoulderIndoorHalebrook
High LedgeOutdoorBrackhaven
Pylon RoomOutdoorQuarry End

Halebrook Place

Around the town
Works Ropewalk Scar Edge 2 miles
Sorted from the town point
CentreTypeMiles
Halebrook WorksIndoor0.4
Ropewalk BoulderIndoor3.2
Scar EdgeOutdoor5.5

A town name skips the postcode pattern and uses the place table. Indoor only hides Scar Edge.

Coordinate cache

Local table
41
Tried first
Cache hits today
18
Public lookups
2
Only after a miss
Stored lookups
QueryKindSourceStored
AA9 4PLPostcodeCached coordinates52.40, -1.20
HalebrookPlaceLocal place table52.18, -0.96
KilnfordPlaceLocal place table52.41, -1.22
AA8 1ZZPostcodePublic lookup, now cached51.90, -1.44

How it works

  1. Detect a UK postcode and look it up. Treat any other text as a place name.
  2. Try the local postcode table first, then saved positions, then postcodes.io.
  3. Save each successful lookup so the next search does not repeat it.
  4. Sort the centres inside the distance by how far away they are.
  5. Hide the other type when an indoor or outdoor filter is set.
  6. With an empty search, show featured centres on the home page.

Pipeline

flowchart LR
  Query[Postcode or town] --> Local[Local postcode table]
  Local --> Cache[Cached coordinates]
  Cache --> Radius[Centres inside the radius]
  Filter[Indoor or outdoor] --> Radius
  Radius --> Cards[Distance-sorted cards]
  Radius --> Pin[Map pin]