Pengumuman: Semua project nonkomersial yang terdaftar untuk menggunakan Earth Engine sebelum 15 April 2025 harus memverifikasi kelayakan nonkomersial untuk mempertahankan akses. Jika Anda belum melakukan verifikasi hingga 26 September 2025, akses Anda mungkin ditangguhkan.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-26 UTC."],[[["\u003cp\u003eCalculates the total length of a geometry's linear segments, excluding any polygonal areas.\u003c/p\u003e\n"],["\u003cp\u003eIt sums the lengths of individual components for multi-geometries.\u003c/p\u003e\n"],["\u003cp\u003eReturns the length in meters by default or in the units of a specified projection.\u003c/p\u003e\n"],["\u003cp\u003eCan be used with an optional \u003ccode\u003emaxError\u003c/code\u003e parameter to control reprojection accuracy.\u003c/p\u003e\n"]]],["The `length()` method calculates the length of linear parts within a geometry, ignoring polygonal sections. For multi-geometries, it sums the lengths of individual components. The method accepts optional `maxError` and `proj` arguments to define error tolerance and projection units, respectively. By default, length is computed in meters. The example demonstrates how to use `length()` on a polygon object and visualize it in JavaScript and Python environments.\n"],null,[]]