Get values for tiles
A small table of one measure's values, keyed by the same numeric id the tiles use, so your map can colour areas without touching the shapes.
/map-resources/{geography}/{release}/join/{measure-id}Good to know
- If the measure's area codes aren't all in this boundary release, you'll get an
incompatible_geometryrefusal that names releases that would work. - Add
format=parquetfor the same table as a Parquet file, to join to the GeoParquet shapes in a warehouse.
geographystringrequiredA geography type id, e.g.
constituencyorward.releasestringrequiredA boundary release id, e.g.
2024-07-uk-bgc, orlatestfor the geography's newest release: the one/boundary-releases:resolvechooses for the furthest date. A response tolatestnames the release it read inContent-Location. A geography whose newest month holds several releases that differ in more than coverage, or that has a release whose id carries no month, is refused with409and the releases that could be newest.measure-idstringrequiredA measure id from
GET /v1/measures, such aspopulation, or one of itsaliases, such ashouse-prices. An alias is read as the id it names, and the response'sContent-Locationheader gives the request it was read as. Case, spaces and punctuation are set aside, soHouse Pricesishouse-prices.
periodstringrequiredThe observation period the values describe.
geographystringoptionalThe measure's source geography, where it publishes more than one partition. Without it an ambiguous request is refused with the partitions listed rather than one being chosen by catalogue order.
boundaryYearintegeroptionalThe measure's source boundary year, alongside
geography.formatstringoptionaljsonfor the envelope a renderer reads,parquetfor the same rows as a Parquet file.One ofjsonparquetDefaultjson
Returns
stringThe values, numbered as the tiles number their features.
- 400A query parameter is malformed or its cursor is not valid for this result set.
- 404No resource matches that identity.
- 422The measure's source codes are not all in this release, so its values cannot be drawn on it.
- 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 behaviourHide the precise behaviour
The values a renderer joins to the tiles, as id, code and value. The id is the same integer the tile carries, so a renderer sets feature state by it without reading the geometry. Values are joined to this release by matching area code and are never converted: a measure whose source codes are not all in this release is refused with incompatible_geometry, and the refusal names the releases that would carry it. Keeping values out of the tiles is what lets one tileset serve every measure, and lets a corrected value invalidate a small table rather than a whole pyramid.
With format=parquet the same table is served as a Parquet file with id, code, value and status columns, for a warehouse to join to the GeoParquet features. Everything the JSON envelope says about the table, from the Atlas release to the join rule and provenance, travels in the file's uk-data-atlas metadata.