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 检测到交通拥堵。