SpeedReadingInterval

多段线或路径的连续段上的交通密度指示器。假设路径包含点 P_0、P_1、...、P_N(从零开始的索引),SpeedReadingPeriod 使用以下类别定义时间间隔并描述其流量。

JSON 表示法
{
  "speed": enum (Speed),
  "startPolylinePointIndex": integer,
  "endPolylinePointIndex": integer
}
字段
speed

enum (Speed)

此时间间隔内的车流速度。

startPolylinePointIndex

integer

多段线中该间隔的起始索引。

endPolylinePointIndex

integer

多段线中该间隔的结束索引。

速度

基于路况数据的多段线速度分类。

枚举
SPEED_UNSPECIFIED 默认值。此值未使用。
NORMAL 速度正常,未检测到减速。
SLOW 检测到行驶缓慢路段,但未形成交通拥堵。
TRAFFIC_JAM 检测到交通堵塞。