Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Interpreting HERE Maps real-time traffic tags

Tags:

here-api

I've read all the HERE Maps API documentation but couldn't find the answer. What is the meaning of the XML tags in the HERE real-time traffic REST API output?

<FI><TMC PC="4375" DE="Rivonia Road" QD="-" LE="0.55047"/><CF CN="0.83" FF="24.0" JF="6.8228" SP="10.78" SU="10.78" TY="TR"/></FI>

Does anyone know how to interpret this output (I used proximity parameter in my request)?

like image 650
Bonnie Avatar asked Dec 03 '15 12:12

Bonnie


People also ask

What is real-time traffic?

Real-time traffic data is collected in different ways. Travel times and delays in traffic are monitored either via cameras scanning number plates or road sensors counting the number of cars in a certain period of time. This data is also used by traffic information systems and navigation systems.

What is here traffic data?

HERE Speed Data helps governments and transportation agencies & consulting firms make informed decisions about future traffic flow management and infrastructure management by using historical road traffic data. The data enables deep insights into historic and comparative traffic flow and road network performance.

What is API traffic?

The Traffic API is a suite of web services designed for developers to create web and mobile applications around real-time traffic. These web services can be used via RESTful APIs.


1 Answers

I noticed that a lot of people have this question and the answer is somewhat difficult to find. I've posted a list of the tag meanings I could find below.

  • "RWS" - A list of Roadway (RW) items
  • "RW" = This is the composite item for flow across an entire roadway. A roadway item will be present for each roadway with traffic flow information available
  • "FIS" = A list of Flow Item (FI) elements
  • "FI" = A single flow item
  • "TMC" = An ordered collection of TMC locations
  • "PC" = Point TMC Location Code
  • "DE" = Text description of the road
  • "QD" = Queuing direction. '+' or '-'. Note this is the opposite of the travel direction in the fully qualified ID, For example for location 107+03021 the QD would be '-'
  • "LE" = Length of the stretch of road. The units are defined in the file header
  • "CF" = Current Flow. This element contains details about speed and Jam Factor information for the given flow item.
  • "CN" = Confidence, an indication of how the speed was determined. -1.0 road closed. 1.0=100% 0.7-100% Historical Usually a value between .7 and 1.0
  • "FF" = The free flow speed on this stretch of road.
  • "JF" = The number between 0.0 and 10.0 indicating the expected quality of travel. When there is a road closure, the Jam Factor will be 10. As the number approaches 10.0 the quality of travel is getting worse. -1.0 indicates that a Jam Factor could not be calculated
  • "SP" = Speed (based on UNITS) capped by speed limit
  • "SU" = Speed (based on UNITS) not capped by speed limit
  • "TY" = Type information for the given Location Referencing container. This may be freely defined string

Source: http://traffic.cit.api.here.com/traffic/6.0/xsd/flow.xsd?app_id=YOUR_APP_ID&app_code=YOUR_APP_CODE

like image 82
Bonnie Avatar answered Oct 07 '22 22:10

Bonnie