ee.Image.setDefaultProjection
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הגדרת הקרנה שתחול על התמונה הזו כברירת מחדל. יכול להיות שפעולות מאוחרות יותר יבטלו את הרזולוציה של ההקרנה.
שימוש | החזרות |
---|
Image.setDefaultProjection(crs, crsTransform, scale) | תמונה |
ארגומנט | סוג | פרטים |
---|
זה: image | תמונה | התמונה להקרנה מחדש. |
crs | היטל | מערכת ה-CRS שאליה רוצים להקרין את התמונה. |
crsTransform | רשימה, ברירת מחדל: null | רשימת ערכי הטרנספורמציה של מערכת ייחוס קואורדינטות. זהו סדר שורות של מטריצת הטרנספורמציה 3x2. האפשרות הזו לא יכולה לפעול במקביל לאפשרות של שינוי קנה מידה, והיא מחליפה כל טרנספורמציה שכבר מופיעה בהקרנה. |
scale | מספר ממשי (float), ברירת מחדל: null | אם מציינים את קנה המידה, ההיטל משתנה על ידי חלוקת ערך קנה המידה שצוין בגודל הנומינלי של מטר בהיטל שצוין. אם לא מציינים את קנה המידה, ייעשה שימוש בקנה המידה של ההטלה הנתונה. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eDefine a default projection and resolution for an image, which can be modified by subsequent operations.\u003c/p\u003e\n"],["\u003cp\u003eSpecify the target Coordinate Reference System (CRS), an optional CRS transformation matrix, and an optional scale factor to adjust the projection.\u003c/p\u003e\n"],["\u003cp\u003eProviding a CRS transformation matrix overrides any existing transformations, while the scale factor adjusts the projection's scale based on the specified value and the projection's nominal meter size.\u003c/p\u003e\n"]]],[],null,["# ee.Image.setDefaultProjection\n\nSet a default projection to be applied to this image. The projection's resolution may be overridden by later operations.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------------------|---------|\n| Image.setDefaultProjection`(crs, `*crsTransform* `, `*scale*`)` | Image |\n\n| Argument | Type | Details |\n|----------------|----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `image` | Image | The image to reproject. |\n| `crs` | Projection | The CRS to project the image to. |\n| `crsTransform` | List, default: null | The list of CRS transform values. This is a row-major ordering of the 3x2 transform matrix. This option is mutually exclusive with the scale option, and replaces any transform already on the projection. |\n| `scale` | Float, default: null | If scale is specified, then the projection is scaled by dividing the specified scale value by the nominal size of a meter in the specified projection. If scale is not specified, then the scale of the given projection will be used. |"]]