How to get raw traffic flow data

一笑奈何 提交于 2019-12-08 10:00:58

问题


Creating application to use car count data from traffic. How do I access the live google maps, waze or bing maps data?


回答1:


The Azure Maps platform has raw traffic data you can access for analysis purposes (I have been working with several others who are doing this).

There are two approaches. The first is to use the Traffic flow segment API: https://docs.microsoft.com/en-us/rest/api/maps/traffic/gettrafficflowsegment

The second is to use the traffic flow tiles. https://docs.microsoft.com/en-us/rest/api/maps/traffic/gettrafficflowtile If you need traffic data over a large area, this is the lost cost approach, although more complex. Azure Maps provides the traffic flow tiles in both image (raster) like most platforms, but also in vector tile format (aligns with the open vector tile standard created by Mapbox). You can download all the tiles over your area of interest and extract the data for analysis. If you request traffic relative to the speed limit, each line segment in the tile will have a value between 0 and 1 which indicates the speed relative to the speed limit. For example, 0.2 would mean traffic is flowing at 20% of the speed limit.



来源:https://stackoverflow.com/questions/58661346/how-to-get-raw-traffic-flow-data

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!