Datapoints

A datapoint is a map tile pixel value at the “native” zoom level specified by its frame.


Single-Frame Datapoint

This provides the datapoint from a product frame or forecast frame at a specific location. The location is expressed as a latitude/longitude pair.

GET /frames/{frame-id}/datapoint/{latitude}/{longitude}

Request Example

See Headers for request header details.

$ curl -n -X GET https://platform.api.wdtinc.com/frames/953fcf5e-e7ee-4d2d-aee5-f206beb85792/datapoint/35.482/-97.535 \
-H "Accept: application/vnd.wdt+json; version=1"

Response Example

See Status Codes for response code details.

HTTP/1.1 200 OK
{
  "tile": "/frames/953fcf5e-e7ee-4d2d-aee5-f206beb85792/tile/3/1/3",
  "pixel": {
    "row": 52,
    "column": 213
  },
  "value": 5.2,
  "unit": {
    "description": "degrees Fahrenheit",
    "label": "°F"
  }
}