ee.Image.projection
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Renvoie la projection par défaut d'une image. Génère une erreur si les bandes de l'image n'ont pas toutes la même projection.
Utilisation | Renvoie |
---|
Image.projection() | Projection |
Argument | Type | Détails |
---|
ceci : image | Image | Image à partir de laquelle obtenir la projection. |
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[null,null,["Dernière mise à jour le 2025/07/26 (UTC)."],[[["\u003cp\u003eThis function retrieves the default projection of an image.\u003c/p\u003e\n"],["\u003cp\u003eAn error is thrown if the image bands have differing projections.\u003c/p\u003e\n"],["\u003cp\u003eThe function returns a Projection object.\u003c/p\u003e\n"],["\u003cp\u003eIt's used by calling \u003ccode\u003eImage.projection()\u003c/code\u003e on an image.\u003c/p\u003e\n"]]],["The core function is retrieving an image's default projection. It utilizes `Image.projection()` and returns a `Projection` object. The input is an `Image` object (`this: image`). The function verifies all image bands share the same projection; otherwise, it throws an error. Essentially, it extracts and returns the common spatial projection associated with the input image's data.\n"],null,["# ee.Image.projection\n\nReturns the default projection of an Image. Throws an error if the bands of the image don't all have the same projection.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------|------------|\n| Image.projection`()` | Projection |\n\n| Argument | Type | Details |\n|---------------|-------|---------------------------------------------|\n| this: `image` | Image | The image from which to get the projection. |"]]