0

有没有我们可以得到json数据形式的交通信息,因为目前这里的api以png图像的形式给出了难以处理的响应。

下面一张是Here api的流量请求 https://1.traffic.maps.ls.hereapi.com/maptile/2.1/traffictile/newest/normal.day/14/8683/5379/256/png8?apiKey=xxxx&min_traffic_congestion =重

参考:https ://developer.here.com/documentation/map-tile/dev_guide/topics/example-traffic.html

4

1 回答 1

1

您可以使用 Traffic Rest API,它以 XML 或 JSON 格式返回数据。更多细节-> https://developer.here.com/documentation/traffic/dev_guide/topics_v6.1/resource-parameters-flow.html

于 2021-08-04T20:20:16.577 回答