ConsumableTrafficPolylineLog
Stay organized with collections
Save and categorize content based on your preferences.
Traffic density along a vehicle's path.
Fields |
speedReadingInterval[] |
object (SpeedReadingIntervalLog )
Traffic speed along the path from the previous waypoint to the current waypoint.
|
SpeedReadingIntervalLog
Traffic density indicator on a contiguous segment of a path. Given a path with points P_0, P_1, ... , P_N (zero-based index), the SpeedReadingIntervalLog defines an interval and describes its traffic using the following categories.
JSON representation |
{
"startPolylinePointIndex": integer,
"endPolylinePointIndex": integer,
"speed": enum (Speed )
} |
Fields |
startPolylinePointIndex |
integer
The starting index of this interval in the path. In JSON, when the index is 0, the field will appear to be unpopulated.
|
endPolylinePointIndex |
integer
The ending index of this interval in the path. In JSON, when the index is 0, the field will appear to be unpopulated.
|
speed |
enum (Speed )
Traffic speed in this interval.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-26 UTC."],[[["Traffic density is represented along a vehicle's path using `ConsumableTrafficPolylineLog`."],["`SpeedReadingIntervalLog` indicates traffic density on a segment of the path, categorized by speed."],["Each interval is defined by a start and end index within the path's points, along with its traffic speed."],["Speed readings within intervals are classified using the `Speed` enum."]]],["The provided content defines how traffic density is represented along a vehicle's path using `SpeedReadingIntervalLog`. This log contains an array of intervals, each described by a `startPolylinePointIndex` and `endPolylinePointIndex` indicating its position within the path. Each interval also has a `speed` field, which is an enumeration indicating the traffic speed within that segment. The `speedReadingInterval` is an array of these objects, showing all segments in a given trip.\n"]]