Pengumuman: Semua project nonkomersial yang terdaftar untuk menggunakan Earth Engine sebelum
15 April 2025 harus
memverifikasi kelayakan nonkomersial untuk mempertahankan akses Earth Engine.
ee.Algorithms.GeometryConstructors.LinearRing
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Membuat LinearRing dari koordinat yang diberikan, yang secara otomatis menambahkan titik pertama di akhir jika cincin tidak ditutup secara eksplisit.
Penggunaan | Hasil |
---|
ee.Algorithms.GeometryConstructors.LinearRing(coordinates, crs, geodesic, maxError) | Geometri |
Argumen | Jenis | Detail |
---|
coordinates | Daftar | Daftar Titik atau pasangan Angka dalam urutan x,y. |
crs | Proyeksi, default: null | Sistem referensi koordinat koordinat. Defaultnya adalah proyeksi input, dengan Angka diasumsikan sebagai EPSG:4326. |
geodesic | Boolean, default: null | Jika salah, tepi akan lurus dalam proyeksi. Jika true, tepi akan melengkung untuk mengikuti jalur terpendek di permukaan Bumi. Nilai default-nya adalah status geodesik input, atau true jika input berupa angka. |
maxError | ErrorMargin, default: null | Error maksimum saat geometri input harus diproyeksikan ulang ke proyeksi hasil atau status geodesi yang diminta secara eksplisit. |
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-25 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-25 UTC."],[[["\u003cp\u003eCreates a LinearRing geometry from a list of coordinates, closing it automatically if needed.\u003c/p\u003e\n"],["\u003cp\u003eAccepts coordinates as Points or number pairs (x,y), optionally specifying a coordinate reference system (CRS) and geodesic behavior.\u003c/p\u003e\n"],["\u003cp\u003eDefaults to EPSG:4326 CRS and geodesic lines if the inputs are numbers or have a geodesic state.\u003c/p\u003e\n"]]],[],null,["# ee.Algorithms.GeometryConstructors.LinearRing\n\nConstructs a LinearRing from the given coordinates, automatically adding the first point at the end if the ring is not explicitly closed.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------------------------------------------------------|----------|\n| `ee.Algorithms.GeometryConstructors.LinearRing(coordinates, `*crs* `, `*geodesic* `, `*maxError*`)` | Geometry |\n\n| Argument | Type | Details |\n|---------------|----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `coordinates` | List | The list of Points or pairs of Numbers in x,y order. |\n| `crs` | Projection, default: null | The coordinate reference system of the coordinates. The default is the projection of the inputs, where Numbers are assumed to be EPSG:4326. |\n| `geodesic` | Boolean, default: null | If false, edges are straight in the projection. If true, edges are curved to follow the shortest path on the surface of the Earth. The default is the geodesic state of the inputs, or true if the inputs are numbers. |\n| `maxError` | ErrorMargin, default: null | Max error when input geometry must be reprojected to an explicitly requested result projection or geodesic state. |"]]