Routes Preferred API is currently available only to select customers.
Contact sales to learn more.
SpeedReadingInterval
Stay organized with collections
Save and categorize content based on your preferences.
Traffic density indicator on a contiguous segment of a polyline or path. Given a path with points P_0, P_1, ... , P_N (zero-based index), the SpeedReadingInterval
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 polyline. In JSON, when the index is 0, the field appears to be unpopulated.
|
endPolylinePointIndex |
integer
The ending index of this interval in the polyline. In JSON, when the index is 0, the field appears 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 2024-10-23 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 2024-10-23 UTC."],[[["`SpeedReadingInterval` indicates traffic density on a segment of a path using start and end points and a speed category."],["The interval is defined by `startPolylinePointIndex` and `endPolylinePointIndex`, representing the segment's start and end points on the path."],["Traffic speed within the interval is categorized using the `speed` enum, providing information about traffic flow."],["When an index value is 0 in the JSON representation, the corresponding field (`startPolylinePointIndex` or `endPolylinePointIndex`) may appear unpopulated."]]],[]]