ee.Image.setDefaultProjection
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Legen Sie eine Standardprojektion fest, die auf dieses Bild angewendet werden soll. Die Auflösung der Projektion kann durch spätere Vorgänge überschrieben werden.
Nutzung | Ausgabe |
---|
Image.setDefaultProjection(crs, crsTransform, scale) | Bild |
Argument | Typ | Details |
---|
So gehts: image | Bild | Das neu zu projizierende Bild. |
crs | Projektion | Das CRS, auf das das Bild projiziert werden soll. |
crsTransform | Liste, Standard: null | Die Liste der Werte für die CRS-Transformation. Dies ist eine zeilenweise Anordnung der 3 × 2-Transformationsmatrix. Diese Option schließt die Skalierungsoption aus und ersetzt alle Transformationen, die bereits für die Projektion angewendet wurden. |
scale | Gleitkommazahl, Standardwert: null | Wenn „scale“ angegeben ist, wird die Projektion skaliert, indem der angegebene Skalierungswert durch die nominelle Größe eines Meters in der angegebenen Projektion dividiert wird. Wenn keine Skalierung angegeben ist, wird die Skalierung der angegebenen Projektion verwendet. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 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. |"]]