ee.Algorithms.GeometryConstructors.LineString
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
יצירת LineString מהקואורדינטות הנתונות.
שימוש | החזרות |
---|
ee.Algorithms.GeometryConstructors.LineString(coordinates, crs, geodesic, maxError) | גיאומטריה |
ארגומנט | סוג | פרטים |
---|
coordinates | רשימה | רשימת הנקודות או הזוגות של המספרים בסדר x,y. |
crs | תחזית, ברירת מחדל: null | מערכת הייחוס של הקואורדינטות. ברירת המחדל היא הקרנה של הקלט, כאשר Numbers נחשבים ל-EPSG:4326. |
geodesic | בוליאני, ברירת המחדל: null | אם הערך הוא false, הקצוות ישרים בתצוגה. אם הערך הוא True, הקצוות מעוגלים כדי לעקוב אחרי הנתיב הקצר ביותר על פני כדור הארץ. ברירת המחדל היא המצב הגיאודטי של ערכי הקלט, או true אם ערכי הקלט הם מספרים. |
maxError | ErrorMargin, ברירת המחדל: null | השגיאה המקסימלית כשצריך להקרין מחדש את גיאומטריה הקלט למדינה גיאודזית או להקרנה של תוצאה שהתבקשה במפורש. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 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. |"]]