ee.Algorithms.GeometryConstructors.LinearRing
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
יצירת טבעת לינארית מהקואורדינטות שצוינו, והוספה אוטומטית של הנקודה הראשונה בסוף אם הטבעת לא סגורה באופן מפורש.
שימוש | החזרות |
---|
ee.Algorithms.GeometryConstructors.LinearRing(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 LinearRing geometry from a list of coordinates, closing it automatically if needed.\u003c/p\u003e\n"],["\u003cp\u003eAccepts coordinates as Points or number pairs (x,y), optionally specifying a coordinate reference system (CRS) and geodesic behavior.\u003c/p\u003e\n"],["\u003cp\u003eDefaults to EPSG:4326 CRS and geodesic lines if the inputs are numbers or have a geodesic state.\u003c/p\u003e\n"]]],[],null,["# ee.Algorithms.GeometryConstructors.LinearRing\n\nConstructs a LinearRing from the given coordinates, automatically adding the first point at the end if the ring is not explicitly closed.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------------------------------------------------------|----------|\n| `ee.Algorithms.GeometryConstructors.LinearRing(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. |"]]