Pengumuman: Semua project nonkomersial yang terdaftar untuk menggunakan Earth Engine sebelum
15 April 2025 harus
memverifikasi kelayakan nonkomersial untuk mempertahankan akses Earth Engine.
ee.Image.projection
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Menampilkan proyeksi default Gambar. Menampilkan error jika semua band gambar tidak memiliki proyeksi yang sama.
Penggunaan | Hasil |
---|
Image.projection() | Proyeksi |
Argumen | Jenis | Detail |
---|
ini: image | Gambar | Gambar dari mana proyeksi akan didapatkan. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 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. |"]]