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 偵測到交通壅塞,