Platform Data Extension API Developer's Guide

Requesting a Tile

User Story

The user needs the driving direction and speed category of some road links but does not know their geometry. The user thesefore wants to request tiles based on known attribute values.

Request

https://pde.cit.api.here.com/1/index.json
?layer=ROAD_GEOM_FCn
&attributes=LINK_ID
&values=548294575,833539855,550088940,930893121
&app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}

Response

The response to the request contains the following information blocks:
  • layer name
  • level number
  • tiles
{
  "Layers": [
    {
      "layer": "ROAD_GEOM_FC5",
      "level": 13,
      "tileXYs": [
        {
          "x": 8580,
          "y": 6376
        }
      ]
    },
    {
      "layer": "ROAD_GEOM_FC1",
      "level": 9,
      "tileXYs": [
        {
          "x": 534,
          "y": 397
        },
        {
          "x": 536,
          "y": 398
        }
      ]
    },
    {
      "layer": "ROAD_GEOM_FC3",
      "level": 11,
      "tileXYs": [
        {
          "x": 2139,
          "y": 1590
        }
      ]
    }
  ]
}