SpeedReadingInterval

多段线或路径的连续路段上的流量密度指示器。假设某个路径包含点 P_0、P_1、...、P_N(从零开始的索引),SpeedReadingInterval 定义了一个区间,并使用以下类别描述该区间的流量。

JSON 表示法
{
  "startPolylinePointIndex": integer,
  "endPolylinePointIndex": integer,

  // Union field speed_type can be only one of the following:
  "speed": enum (Speed)
  // End of list of possible types for union field speed_type.
}
字段
startPolylinePointIndex

integer

相应间隔在多段线中的起始索引。

endPolylinePointIndex

integer

多段线中相应区间的结束索引。

联合字段 speed_type。相应时间段内的速度类型。speed_type 只能是下列其中一项:
speed

enum (Speed)

相应时间间隔内的流量速度。

速度

基于流量数据的折线速度分类。

枚举
SPEED_UNSPECIFIED 默认值。此值未使用。
NORMAL 正常速度,交通顺畅。
SLOW 检测到减速,车流量中等。
TRAFFIC_JAM 交通拥堵。