Traffic API Developer's Guide

Traffic Flow Data with Max Functional Class Filter

The user wants to obtain traffic flow data for an area around The area is identified using the [Z]/[X]/[Y] addressing scheme, with map zoom level . The response includes data in XML format, filtered to only include functional road class types no higher than 2.

Request

The [Z]/[X]/[Y] values are respectively. The maxfunctionalclass parameter is 2.

https://traffic.hereapi.cn/traffic/6.2/
?app_code={YOUR_APP_CODE}
&app_id={YOUR_APP_ID}
&maxfunctionalclass=2

Response

The following code block shows the response the request for traffic flow data with a maximum functional class filter. Note that this response is abbreviated because of space limitations. In reality, the XML may contain a very large number of <RW> elements.