ConsumableTrafficPolylineLog

車輛路徑沿途的車流量密度,

JSON 表示法
{
  "speedReadingInterval": [
    {
      object (SpeedReadingIntervalLog)
    }
  ]
}
欄位
speedReadingInterval[]

object (SpeedReadingIntervalLog)

從上一個路線控點到目前路線控點的沿途車流速度。

SpeedReadingIntervalLog

連續路徑路段上的流量密度指標。假設路徑包含 P_0、P_1、...、P_N (零為零索引),SpeedReadingIntervalLog 會定義間隔,並使用下列類別說明其流量。

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

integer

此間隔在路徑中的起始索引。在 JSON 中,當索引為 0 時,該欄位會顯示為未填入。

endPolylinePointIndex

integer

此間隔在路徑中的結束索引。在 JSON 中,當索引為 0 時,該欄位會顯示為未填入。

speed

enum (Speed)

這個時間間隔內的流量速度。