Pengumuman: Semua project nonkomersial yang terdaftar untuk menggunakan Earth Engine sebelum
15 April 2025 harus
memverifikasi kelayakan nonkomersial untuk mempertahankan akses Earth Engine.
ee.Geometry.LinearRing.coveringGrid
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Menampilkan kumpulan fitur yang mencakup geometri ini, dengan setiap fitur adalah persegi panjang dalam petak yang ditentukan oleh proyeksi yang diberikan.
Penggunaan | Hasil |
---|
LinearRing.coveringGrid(proj, scale) | FeatureCollection |
Argumen | Jenis | Detail |
---|
ini: geometry | Geometri | Hasilnya adalah sel petak yang berpotongan dengan wilayah ini. |
proj | Proyeksi | Proyeksi tempat petak akan dibuat. Fitur dibuat untuk setiap sel petak yang berpotongan dengan 'geometri', dengan sudut sel berada di posisi bernilai bilangan bulat dalam proyeksi. Jika proyeksi diskalakan dalam meter, titik-titik akan berada di petak dengan ukuran tersebut pada titik skala sebenarnya. |
scale | Float, default: null | Menggantikan skala proyeksi, jika disediakan. Mungkin diperlukan jika proyeksi belum diskalakan. |
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\u003eReturns a FeatureCollection of rectangular grid cells covering the input geometry.\u003c/p\u003e\n"],["\u003cp\u003eThe grid is defined by the provided projection and an optional scale parameter.\u003c/p\u003e\n"],["\u003cp\u003eEach grid cell in the FeatureCollection intersects with the input geometry.\u003c/p\u003e\n"],["\u003cp\u003eIf the projection is scaled (e.g., in meters), the grid cells will align with that scale at the projection's point of true scale.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003escale\u003c/code\u003e argument can be provided to override the projection's inherent scale if needed.\u003c/p\u003e\n"]]],[],null,["# ee.Geometry.LinearRing.coveringGrid\n\nReturns a collection of features that cover this geometry, where each feature is a rectangle in the grid defined by the given projection.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------------------------|-------------------|\n| LinearRing.coveringGrid`(proj, `*scale*`)` | FeatureCollection |\n\n| Argument | Type | Details |\n|------------------|----------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `geometry` | Geometry | The result is the grid cells that intersect with this region. |\n| `proj` | Projection | The projection in which to construct the grid. A feature is generated for each grid cell that intersects 'geometry', where cell corners are at integer-valued positions in the projection. If the projection is scaled in meters, the points will be on a grid of that size at the point of true scale. |\n| `scale` | Float, default: null | Overrides the scale of the projection, if provided. May be required if the projection isn't already scaled. |"]]