[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-25。"],[[["`distance()` calculates the minimum distance between two geometries, with one being a LinearRing."],["The distance is returned as a float and can be calculated using a specified projection or spherically in meters."],["Optional parameters allow for controlling the error margin (`maxError`) and the projection (`proj`) used in the calculation."],["This function is accessible within both the JavaScript and Python Earth Engine APIs."]]],["The `distance` method calculates the minimum distance between two geometries (`left` and `right`). It accepts optional parameters: `maxError` (tolerated error), `proj` (projection for calculation), and `spherical` (true for unit sphere calculation, false for elliptical). The function outputs a float representing the distance. The examples show how to use the function in JavaScript and Python to compute and visualize the distance between a `LinearRing` and a `Point` geometry.\n"]]