解读HERE Maps实时路况标签 [英] Interpreting HERE Maps real-time traffic tags
本文介绍了解读HERE Maps实时路况标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经阅读了所有HERE Maps API文档,但找不到答案.这里的实时流量REST API输出中的XML标签是什么意思?
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)?
推荐答案
我注意到很多人都有这个问题,答案很难找到.我已经在下面发布了标签含义的列表.
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"-道路(RW)项目列表
- "RW" =这是用于在整个道路上流动的复合项. 每个具有交通流量的道路都将出现一个道路项目 可用信息
- "FIS" =流项目(FI)元素的列表
- "FI" =单个流程项目
- "TMC" = TMC位置的有序集合
- "PC" =点TMC位置代码
- "DE" =道路的文字描述
- "QD" =排队方向. "+"或-".请注意,这与 完全合格ID中的行进方向,例如用于 位置107 + 03021,QD为'-'
- "LE" =路段的长度.单位在 文件头
- "CF" =电流.此元素包含有关速度和速度的详细信息 给定流项目的卡纸因子信息.
- "CN" =置信度,指示如何确定速度. -1.0道路封闭. 1.0 = 100%0.7-100%历史值通常介于.7和1.0之间的值
- "FF" =在这条道路上的自由流动速度.
- "JF" = 0.0到10.0之间的数字,表示预期的 旅行质量.封路时,堵塞因素"将 是10.随着数字接近10.0,旅行质量正在提高 更差. -1.0表示无法计算出堵塞因子
- "SP" =速度(基于UNITS)受速度限制的限制
- "SU" =不受速度限制限制的速度(基于UNITS)
- "TY" =给定位置引用"容器的类型信息. 这可以是自由定义的字符串
- "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
来源:>: //traffic.cit.api.here.com/traffic/6.0/xsd/flow.xsd?app_id=YOUR_APP_ID&app_code=YOUR_APP_CODE
这篇关于解读HERE Maps实时路况标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文