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 साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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"]]