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
ดัชนีสิ้นสุดของช่วงนี้ในเส้นหลายเส้น
|
ฟิลด์ Union speed_type ประเภทความเร็วในระยะเวลานี้ speed_type ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้เท่านั้น |
speed |
enum (Speed )
ความเร็วของการจราจรในช่วงเวลานี้
|
ความเร็ว
การจัดประเภทความเร็วของเส้นหลายเส้นตามข้อมูลการจราจร
Enum |
SPEED_UNSPECIFIED |
ค่าเริ่มต้น ค่านี้ไม่ได้ใช้ |
NORMAL |
ความเร็วปกติ การจราจรไม่ล่าช้า |
SLOW |
พบว่าการจราจรชะลอตัว ปริมาณการจราจรปานกลาง |
TRAFFIC_JAM |
การจราจรล่าช้า |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ 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. |"]]