ConsumableTrafficPolyline
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ความหนาแน่นของการจราจรตามเส้นทางของยานพาหนะ
การแสดง JSON |
{
"speedReadingInterval": [
{
object (SpeedReadingInterval )
}
],
"encodedPathToWaypoint": string
} |
ช่อง |
speedReadingInterval[] |
object (SpeedReadingInterval )
ความเร็วของการจราจรตามเส้นทางจากจุดอ้างอิงก่อนหน้าถึงจุดอ้างอิงปัจจุบัน
|
encodedPathToWaypoint |
string
เส้นทางที่คนขับใช้จากจุดอ้างอิงก่อนหน้าไปยังจุดอ้างอิงปัจจุบัน เส้นทางนี้มีจุดสังเกตเพื่อให้ไคลเอ็นต์แสดงเครื่องหมายการจราจรตามเส้นทางได้ (ดู speedReadingInterval ) ระบบยังไม่รองรับการถอดรหัส
|
SpeedReadingInterval
ตัวบ่งชี้ความหนาแน่นของการจราจรบนส่วนที่ต่อเนื่องกันของเส้นทาง เมื่อพิจารณาเส้นทางที่มีจุด P_0, P_1, ... , P_N (ดัชนีฐาน 0) SpeedReadingInterval จะกําหนดช่วงเวลาและอธิบายการเข้าชมโดยใช้หมวดหมู่ต่อไปนี้
การแสดง JSON |
{
"startPolylinePointIndex": integer,
"endPolylinePointIndex": integer,
"speed": enum (Speed )
} |
ช่อง |
startPolylinePointIndex |
integer
ดัชนีเริ่มต้นของช่วงเวลานี้ในเส้นทาง ใน JSON เมื่อดัชนีเป็น 0 ช่องจะไม่มีการป้อนข้อมูล
|
endPolylinePointIndex |
integer
ดัชนีสิ้นสุดของช่วงเวลานี้ในเส้นทาง ใน JSON เมื่อดัชนีเป็น 0 ช่องจะไม่มีการป้อนข้อมูล
|
speed |
enum (Speed )
ความเร็วของการจราจรในช่วงนี้
|
ความเร็ว
การจัดประเภทความเร็วของเส้นประกอบตามข้อมูลการเข้าชม
Enum |
SPEED_UNSPECIFIED |
ค่าเริ่มต้น ค่านี้ไม่ได้ใช้งาน |
NORMAL |
ความเร็วปกติ ไม่พบการชะลอตัว |
SLOW |
ตรวจพบการชะลอตัว แต่ไม่มีรถติด |
TRAFFIC_JAM |
ตรวจพบการจราจรติดขัด |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-11-06 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2024-11-06 UTC"],[[["ConsumableTrafficPolyline provides traffic density information along a vehicle's path using encoded polylines and speed readings."],["SpeedReadingInterval objects represent traffic conditions on segments of the path, indicating speed levels like normal, slow, or traffic jam."],["The `speed` field within SpeedReadingInterval classifies traffic speed into categories: `SPEED_UNSPECIFIED`, `NORMAL`, `SLOW`, and `TRAFFIC_JAM`."],["`encodedPathToWaypoint` is a string representing the path with landmarks, enabling the display of traffic markers; decoding is not yet supported."]]],["The provided content describes traffic data along a vehicle's path using JSON representations. Key information includes `speedReadingInterval`, which details traffic speed between waypoints. This is represented by a list of segments, each defined by `startPolylinePointIndex`, `endPolylinePointIndex`, and `speed`. The `encodedPathToWaypoint` field indicates the path from the previous to the current waypoint. The speed within each interval is categorized as `NORMAL`, `SLOW`, or `TRAFFIC_JAM`. Fields with 0 index will be unpopulated in the JSON representation.\n"]]