问题
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