Get a map resource
Everything you need to draw one boundary release: the tile and archive URLs, zoom levels, where the shapes came from and the attribution to show beside your map.
/map-resources/{geography}/{release}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.
Returns
MapResourceEnvelopeThe map resource descriptor.
apiVersionv1requiredatlasReleasestringrequiredThe immutable
/atlas-releasereleaseIdfor the artifacts that produced this response.metaobjectrequiredShowHide1 child field
nextCursorstring | nullrequiredOpaque cursor for the next page, or null at the end.
dataMapResourcerequiredShowHide14 child fields
idstringrequiredgeographystringrequiredboundaryReleasestringrequiredtitlestringrequiredtopologyshared-arcrequiredBorders are compiled once and shared by the two areas along them, so a tier cannot draw the same border two ways.
areaCountintegerrequiredarcCountintegerrequiredDistinct boundary arcs the release decomposes into.
boundsnumber[]requiredWest, south, east and north, in degrees.
tilesMapResourceTilesrequiredShowHide11 child fields
artifactstringrequiredhrefstringrequiredformatpmtiles-3requiredtileFormatmvt-2.1requiredlayerstringrequiredminZoomintegerrequiredmaxZoomintegerrequiredzoomsobject[]requiredWhich generalisation tier each band of zooms is drawn from.
ShowHide4 child fields
minZoomintegerrequiredmaxZoomintegerrequiredtierstringrequiredtoleranceMnumberrequired
tileCountintegerrequiredbytesintegerrequiredcontentHashstringrequiredSHA-256 of the archive, so a cited map can be checked.
tiersobject[]requiredShowHide4 child fields
tierstringrequiredtoleranceMnumberrequiredcoordinatesintegerrequiredrefinedArcsintegerrequiredArcs given back detail because a ring built from them enclosed nothing at this tier, so no part leaves the map.
featuresobject[]requiredEvery tier as a whole-release download, in GeoParquet and in GeoJSON, compiled from the same shared-arc generalisation as the tiles.
ShowHide10 child fields
tierstringrequiredOne offullhighmediumlowtoleranceMnumberrequiredformatstringrequiredOne ofgeoparquet-1.1geojsonartifactstringrequiredhrefstringrequiredrowCountintegerrequiredOne row per area in the release.
coordinatesintegerrequiredCoordinates across the tier's shared arcs, each border counted once.
bytesintegerrequiredcontentHashstringrequiredSHA-256 of the file served at
href, once any content encoding is undone.gzipBytesintegeroptionalPresent when the file is stored gzipped, as GeoJSON is: its size as sent with
Content-Encoding: gzip.
generalisationobjectrequiredThe terms the tiers were compiled on, in plain words.
geometrySourceobjectrequiredThe publisher file behind the shapes, and how it was transformed.
attributionobjectrequiredShowHide5 child fields
textstringrequiredReady to display beside the map.
publisherstringrequiredsourceUrlstringrequiredlicenceobjectrequiredShowHide2 child fields
namestringrequiredReproduced as the publisher states it, not interpreted.
urlstringoptional
hrefstringrequired
- 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 behaviourHide the precise behaviour
The only document a client needs to read to draw this release. It carries the tile and archive URLs, the zoom ladder and the tier behind each zoom, the content hash of the archive, the publisher file the shapes were compiled from, and the attribution to display beside the map.