ee.Algorithms.GeometryConstructors.LineString
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह दिए गए निर्देशांकों से LineString बनाता है.
इस्तेमाल | रिटर्न |
---|
ee.Algorithms.GeometryConstructors.LineString(coordinates, crs, geodesic, maxError) | ज्यामिति |
आर्ग्यूमेंट | टाइप | विवरण |
---|
coordinates | सूची | x,y क्रम में पॉइंट या नंबर के पेयर की सूची. |
crs | प्रोजेक्शन, डिफ़ॉल्ट: null | निर्देशांक का कोऑर्डिनेट रेफ़रंस सिस्टम. डिफ़ॉल्ट रूप से, इनपुट का प्रोजेक्शन होता है, जहां नंबरों को EPSG:4326 माना जाता है. |
geodesic | बूलियन, डिफ़ॉल्ट: null | अगर यह वैल्यू 'गलत' है, तो प्रोजेक्शन में किनारे सीधे होते हैं. अगर यह सही है, तो पृथ्वी की सतह पर सबसे छोटे रास्ते का पालन करने के लिए, किनारों को घुमाया जाता है. डिफ़ॉल्ट रूप से, इनपुट की जियोडेसिक स्थिति या इनपुट के नंबर होने पर, यह true होता है. |
maxError | ErrorMargin, डिफ़ॉल्ट: null | जब इनपुट ज्यामिति को साफ़ तौर पर अनुरोध किए गए नतीजे के प्रोजेक्शन या जियोडेसिक स्टेटस में फिर से प्रोजेक्ट करना ज़रूरी हो, तब ज़्यादा से ज़्यादा गड़बड़ी. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eCreates a LineString geometry from a list of coordinates.\u003c/p\u003e\n"],["\u003cp\u003eAccepts coordinates as either Points or coordinate pairs (x,y).\u003c/p\u003e\n"],["\u003cp\u003eAllows specifying the coordinate reference system (CRS) for the LineString, defaulting to EPSG:4326 if not provided.\u003c/p\u003e\n"],["\u003cp\u003eEnables creating geodesic or planar LineStrings by setting the 'geodesic' parameter, defaulting to true if the input is numerical coordinates.\u003c/p\u003e\n"]]],[],null,["# ee.Algorithms.GeometryConstructors.LineString\n\nConstructs a LineString from the given coordinates.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------------------------------------------------------|----------|\n| `ee.Algorithms.GeometryConstructors.LineString(coordinates, `*crs* `, `*geodesic* `, `*maxError*`)` | Geometry |\n\n| Argument | Type | Details |\n|---------------|----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `coordinates` | List | The list of Points or pairs of Numbers in x,y order. |\n| `crs` | Projection, default: null | The coordinate reference system of the coordinates. The default is the projection of the inputs, where Numbers are assumed to be EPSG:4326. |\n| `geodesic` | Boolean, default: null | If false, edges are straight in the projection. If true, edges are curved to follow the shortest path on the surface of the Earth. The default is the geodesic state of the inputs, or true if the inputs are numbers. |\n| `maxError` | ErrorMargin, default: null | Max error when input geometry must be reprojected to an explicitly requested result projection or geodesic state. |"]]