Traffic Incidents Within a Bounding Box in DATEX II

To request traffic incidents within a bounding box from the Traffic Data Service, send an HTTP POST request. This HTTP POST request must include the common HTTP Headers defined in Common Request Headers. You must also submit a simple JSON structure as part of the body of the POST request. The example below ilustratees the JSON body for requesting a subset of your licensed traffic content using a bounding box.

URL For Query

  http://data.traffic.api.here.com/datex/2.3/incident/content.xml

JSON Query

{"loc":{"geo":{"bbox":[52.528064,13.382060,52.531614,13.386743]}},"incident":{}}

This JSON body requests a subset of all traffic information in your licensed traffic content using a bounding box. For more informaiton about bounding boxes, see Apply a Bounding Box Filter.

results matching ""

    No results matching ""