Platform Data Extension API Developer's Guide

Listing Available Layers

User Story

The user wants to request a list of all available thematic layers in the system.
Note: Do not use this request in an application during runtime.

Request

https://pde.cit.api.here.com/1/doc/layers.json
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}

Response

The response to the request contains the following information blocks:
  • name of each layer
  • layer type of each layer
  • list of attributes for each layer
  • mapping between layers and features
  • tile level for each layer
[
  {
    "name":"ADAS_ATTRIB_FC1",
    "type":"attr",
    "attributes":[
      "LINK_ID",
      "HPX",
      "HPY",
      "HPZ",
      "SLOPES",
      "HEADINGS",
      "CURVATURES",
      "VERTICAL_FLAGS",
      "REFNODE_LINKCURVHEADS",
      "NREFNODE_LINKCURVHEADS",
      "BUA_ROAD",
      "BUA_ROAD_VERIFIED"
    ],
    "featureMapping":"premium_adas",
    "tileLevel":9
  },
  {
    "name":"ADAS_ATTRIB_FC2",
    "type":"attr",
    "attributes":[
      "LINK_ID",
      "HPX",
      "HPY",
      "HPZ",
      "SLOPES",
      "HEADINGS",
      "CURVATURES",
      "VERTICAL_FLAGS",
      "REFNODE_LINKCURVHEADS",
      "NREFNODE_LINKCURVHEADS",
      "BUA_ROAD",
      "BUA_ROAD_VERIFIED"
    ],
    "featureMapping":"premium_adas",
    "tileLevel":10
    },
    ...
  {
    "name":"ADMIN_POLY_0",
    "type":"geom",
    "attributes":[
      "CARTO_ID",
      "ADMIN_PLACE_ID",
      "ADMIN_LEVEL",
      "ADMIN_ORDER",
      "FEATURE_TYPE",
      "FROM_LINEAR",
      "NAME",
      "LAT",
      "LON"
    ],
    "featureMapping":"base",
    "tileLevel":7
  },
  {
    "name":"ADMIN_POLY_1",
    "type":"geom",
    "attributes":[
      "CARTO_ID",
      "ADMIN_PLACE_ID",
      "ADMIN_LEVEL",
      "ADMIN_ORDER",
      "FEATURE_TYPE",
      "FROM_LINEAR",
      "NAME",
      "LAT",
      "LON"
    ],
    "featureMapping":"base",
    "tileLevel":8
  },
  {
    "name":"ADMIN_POLY_2",
    "type":"geom",
    "attributes":[
      "CARTO_ID",
      "ADMIN_PLACE_ID",
      "ADMIN_LEVEL",
      "ADMIN_ORDER",
      "FEATURE_TYPE",
      "FROM_LINEAR",
      "NAME",
      "LAT",
      "LON"
    ],
    "featureMapping":"base",
    "tileLevel":9
  },
  ...
  {
    "name":"BASIC_HEIGHT_FC1",
    "type":"attr",
    "attributes":[
      "LINK_ID",
      "DTM_MIN_HEIGHT",
      "DTM_MAX_HEIGHT",
      "DTM_AVG_HEIGHT",
      "DTM_REF_ZCOORD",
      "DTM_NONREF_ZCOORD"
    ],
    "featureMapping":"premium_eco_routing",
    "tileLevel":9
  },
  ...
]