ee.Image.geometry
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מחזירה את הגיאומטריה של תכונה נתונה בהטלה נתונה.
שימוש | החזרות |
---|
Image.geometry(maxError, proj, geodesics) | גיאומטריה |
ארגומנט | סוג | פרטים |
---|
זה: feature | רכיב | התכונה שממנה נלקחת הגיאומטריה. |
maxError | ErrorMargin, ברירת מחדל: null | הכמות המקסימלית של שגיאות שמותרות כשמבצעים הקרנה מחדש. |
proj | תחזית, ברירת מחדל: null | אם מצוין, הגיאומטריה תהיה בהטלה הזו. אם לא מציינים את ההיטל, הגיאומטריה תהיה בהיטל ברירת המחדל שלה. |
geodesics | בוליאני, ברירת מחדל: null | אם הערך הוא true, לגיאומטריה יהיו קצוות גיאודזיים. אם הערך הוא false, הקצוות יהיו קווים ישרים בהטלה שצוינה. אם הערך הוא null, הפרשנות של הקצה תהיה זהה לגיאומטריה המקורית. המערכת מתעלמת מהארגומנט הזה אם לא מציינים את proj. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eReturns the geometry of an image feature, optionally reprojected and with controlled error margins.\u003c/p\u003e\n"],["\u003cp\u003eAccepts parameters to specify the maximum reprojection error, the desired output projection, and whether to use geodesic edges.\u003c/p\u003e\n"],["\u003cp\u003eBy default, returns the geometry in its original projection and with the original edge interpretation.\u003c/p\u003e\n"],["\u003cp\u003eIf a projection is specified without defining geodesic behavior, the original geometry's edge interpretation is preserved.\u003c/p\u003e\n"],["\u003cp\u003eApplies to image features and allows extraction of their geometric properties for further analysis or visualization.\u003c/p\u003e\n"]]],[],null,["# ee.Image.geometry\n\nReturns the geometry of a given feature in a given projection.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------------|----------|\n| Image.geometry`(`*maxError* `, `*proj* `, `*geodesics*`)` | Geometry |\n\n| Argument | Type | Details |\n|-----------------|----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `feature` | Element | The feature from which the geometry is taken. |\n| `maxError` | ErrorMargin, default: null | The maximum amount of error tolerated when performing any necessary reprojection. |\n| `proj` | Projection, default: null | If specified, the geometry will be in this projection. If unspecified, the geometry will be in its default projection. |\n| `geodesics` | Boolean, default: null | If true, the geometry will have geodesic edges. If false, it will have edges as straight lines in the specified projection. If null, the edge interpretation will be the same as the original geometry. This argument is ignored if proj is not specified. |"]]