ConsumableTrafficPolyline
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
যানবাহনের পথ ধরে ট্রাফিকের ঘনত্ব।
JSON প্রতিনিধিত্ব |
---|
{
"speedReadingInterval": [
{
object (SpeedReadingInterval )
}
],
"encodedPathToWaypoint": string
} |
ক্ষেত্র |
---|
speedReadingInterval[] | object ( SpeedReadingInterval ) আগের ওয়েপয়েন্ট থেকে বর্তমান ওয়েপয়েন্ট পর্যন্ত পাথ বরাবর ট্রাফিকের গতি। |
encodedPathToWaypoint | string ড্রাইভার পূর্ববর্তী ওয়েপয়েন্ট থেকে বর্তমান ওয়েপয়েন্টে যে পথটি নিচ্ছে। এই পথটিতে ল্যান্ডমার্ক রয়েছে যাতে ক্লায়েন্টরা পথ বরাবর ট্রাফিক মার্কার দেখাতে পারে ( speedReadingInterval দেখুন)। ডিকোডিং এখনও সমর্থিত নয়। |
SpeedReadingInterval
একটি পথের সংলগ্ন অংশে ট্র্যাফিক ঘনত্ব নির্দেশক৷ P_0, P_1, ... , P_N (শূন্য-ভিত্তিক সূচক) পয়েন্ট সহ একটি পথ দেওয়া হলে, SpeedReadingInterval একটি ব্যবধান সংজ্ঞায়িত করে এবং নিম্নলিখিত বিভাগগুলি ব্যবহার করে এর ট্র্যাফিক বর্ণনা করে।
JSON প্রতিনিধিত্ব |
---|
{
"startPolylinePointIndex": integer,
"endPolylinePointIndex": integer,
"speed": enum (Speed )
} |
ক্ষেত্র |
---|
startPolylinePointIndex | integer পথের মধ্যে এই ব্যবধানের শুরুর সূচক। JSON-এ, সূচকটি 0 হলে, ক্ষেত্রটি জনবসতিহীন বলে মনে হবে। |
endPolylinePointIndex | integer পথের এই ব্যবধানের শেষ সূচক। JSON-এ, সূচকটি 0 হলে, ক্ষেত্রটি জনবসতিহীন বলে মনে হবে। |
speed | enum ( Speed ) এই ব্যবধানে ট্রাফিকের গতি। |
গতি
ট্রাফিক ডেটার উপর ভিত্তি করে পলিলাইন গতির শ্রেণীবিভাগ।
Enums |
---|
SPEED_UNSPECIFIED | ডিফল্ট মান। এই মান অব্যবহৃত. |
NORMAL | স্বাভাবিক গতি, ট্র্যাফিক বিলম্ব নেই। |
SLOW | স্লোডাউন শনাক্ত করা হয়েছে, মাঝারি পরিমাণ ট্রাফিক। |
TRAFFIC_JAM | ট্রাফিক বিলম্ব. |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-08-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eConsumableTrafficPolyline provides traffic density information along a vehicle's path using encoded polylines and speed readings.\u003c/p\u003e\n"],["\u003cp\u003eSpeedReadingInterval objects represent traffic conditions on segments of the path, indicating speed levels like normal, slow, or traffic jam.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003espeed\u003c/code\u003e field within SpeedReadingInterval classifies traffic speed into categories: \u003ccode\u003eSPEED_UNSPECIFIED\u003c/code\u003e, \u003ccode\u003eNORMAL\u003c/code\u003e, \u003ccode\u003eSLOW\u003c/code\u003e, and \u003ccode\u003eTRAFFIC_JAM\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eencodedPathToWaypoint\u003c/code\u003e is a string representing the path with landmarks, enabling the display of traffic markers; decoding is not yet supported.\u003c/p\u003e\n"]]],["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"],null,["# ConsumableTrafficPolyline\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [SpeedReadingInterval](#SpeedReadingInterval)\n - [JSON representation](#SpeedReadingInterval.SCHEMA_REPRESENTATION)\n- [Speed](#Speed)\n\nTraffic density along a Vehicle's path.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"speedReadingInterval\": [ { object (/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/ConsumableTrafficPolyline#SpeedReadingInterval) } ], \"encodedPathToWaypoint\": string } ``` |\n\n| Fields ||\n|--------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `speedReadingInterval[]` | `object (`[SpeedReadingInterval](/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/ConsumableTrafficPolyline#SpeedReadingInterval)`)` Traffic speed along the path from the previous waypoint to the current waypoint. |\n| `encodedPathToWaypoint` | `string` The path the driver is taking from the previous waypoint to the current waypoint. This path has landmarks in it so clients can show traffic markers along the path (see `speedReadingInterval`). Decoding is not yet supported. |\n\nSpeedReadingInterval\n--------------------\n\nTraffic density indicator on a contiguous segment of a 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, \"speed\": enum (/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/ConsumableTrafficPolyline#Speed) } ``` |\n\n| Fields ||\n|---------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `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. |\n| `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. |\n| `speed` | `enum (`[Speed](/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/ConsumableTrafficPolyline#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. |"]]