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 |
교통 지연 |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-08-31(UTC)
[null,null,["최종 업데이트: 2025-08-31(UTC)"],[[["\u003cp\u003e\u003ccode\u003eSpeedReadingInterval\u003c/code\u003e indicates traffic density on a path segment using start and end points.\u003c/p\u003e\n"],["\u003cp\u003eIt classifies traffic speed into categories: \u003ccode\u003eNORMAL\u003c/code\u003e, \u003ccode\u003eSLOW\u003c/code\u003e, and \u003ccode\u003eTRAFFIC_JAM\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe interval is represented in JSON format including start/end point indexes and speed information.\u003c/p\u003e\n"]]],[],null,["# SpeedReadingInterval\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [Speed](#Speed)\n\nTraffic 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.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"startPolylinePointIndex\": integer, \"endPolylinePointIndex\": integer, // Union field `speed_type` can be only one of the following: \"speed\": enum (/maps/documentation/routes/reference/rest/v2/SpeedReadingInterval#Speed) // End of list of possible types for union field `speed_type`. } ``` |\n\n| Fields ||\n|---------------------------|-----------------------------------------------------------------------------------------------------------------------------|\n| `startPolylinePointIndex` | `integer` The starting index of this interval in the polyline. |\n| `endPolylinePointIndex` | `integer` The ending index of this interval in the polyline. |\n| Union field `speed_type`. The type of speed in this interval. `speed_type` can be only one of the following: ||\n| `speed` | `enum (`[Speed](/maps/documentation/routes/reference/rest/v2/SpeedReadingInterval#Speed)`)` Traffic speed in this interval. |\n\nSpeed\n-----\n\nThe classification of polyline speed based on traffic data.\n\n| Enums ||\n|---------------------|----------------------------------------------|\n| `SPEED_UNSPECIFIED` | Default value. This value is unused. |\n| `NORMAL` | Normal speed, no traffic delays. |\n| `SLOW` | Slowdown detected, medium amount of traffic. |\n| `TRAFFIC_JAM` | Traffic delays. |"]]