Map Tiles

A map tile is a square geographic region on a Spherical Mercator map identified by a Google Maps XYZ-coordinate or Bing Maps quadkey.


Single-Frame Map Tile

This provides a map tile from a product frame or forecast frame.

GET /frames/{frame-id}/tile/{z}/{x}/{y}
GET /frames/{frame-id}/tile/{quadkey}

Request Headers

See Headers for request header details.

Tile requests need a different Accept header than other requests. The header supports multiple media types and styles.

Accept: {media-type}; version=1
Accept: {media-type}; style={style-id}; version=1

Styles are not required and only affect pre-rendered image formats. The following formats are supported:

Media (MIME) Type Format Style ID Applies
application/vnd.mapbox-vector-tile MVT no
image/jpeg JPEG yes
image/png PNG yes
image/tiff GeoTIFF no

Request Examples

$ curl -n -X GET https://platform.api.wdtinc.com/frames/77d3b884-3833-495f-9b64-dfefe527fd28/tile/6/14/25 \
-H "Accept: image/tiff; version=1"
$ curl -n -X GET https://platform.api.wdtinc.com/frames/77d3b884-3833-495f-9b64-dfefe527fd28/tile/023112 \
-H "Accept: image/jpeg; style=0cadca40-1d71-46f8-8c14-a1780e43d76c; version=1"

Response Example

See Status Codes for response code details.

HTTP/1.1 200 OK