Get a named location's shape

Download a named location's outline, such as Greater Manchester, as one GeoJSON Feature: its member areas merged into a single shape.

get
/locations/{location-id}/geometry

Good to know

  • The shape is built ahead of time from a boundary release in which every member area is known. When no such shape exists you get a 503, never an approximation.
  • location-idstringrequired

    A curated named location id from GET /v1/locations, e.g. greater-manchester.

Returns

object

The location as a GeoJSON Feature.

  • 404No resource matches that identity.
  • 503The referenced build artifact has not been built yet.

Every error has the same shape. See Errors for how to handle them.

Show the precise behaviour

Returns the compiled union geometry for the location's fully resolved member release. It is unavailable rather than estimated when no such geometry has been built.