SpeedReadingInterval

折線或路徑相鄰區段上的交通密度指標。假設路徑包含 P_0、P_1、...、P_N 等點 (以 0 為基底的索引),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 車流堵塞。