公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.Feature.dissolve
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
返回一个包含地图项几何图形并集的地图项。这会使单个几何图形保持不变,并合并多个几何图形。
用法 | 返回 |
---|
Feature.dissolve(maxError, proj) | 元素 |
参数 | 类型 | 详细信息 |
---|
此:feature | 元素 | 要进行并集的几何图形所对应的要素。 |
maxError | ErrorMargin,默认值:null | 执行任何必要的重新投影时可容忍的最大误差量。 |
proj | 投影,默认值:null | 如果指定,则在此投影中执行并集。否则,将在球面坐标系中执行。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThe \u003ccode\u003edissolve()\u003c/code\u003e function combines the geometries of a feature, primarily to merge multi-geometries into a single geometry.\u003c/p\u003e\n"],["\u003cp\u003eIt can be applied to any \u003ccode\u003eFeature\u003c/code\u003e and returns an \u003ccode\u003eElement\u003c/code\u003e with the unioned geometry.\u003c/p\u003e\n"],["\u003cp\u003eOptional parameters allow for controlling the error margin (\u003ccode\u003emaxError\u003c/code\u003e) during reprojection and specifying a projection (\u003ccode\u003eproj\u003c/code\u003e) for the union operation.\u003c/p\u003e\n"]]],[],null,["# ee.Feature.dissolve\n\nReturns a feature containing the union of the geometry of a feature. This leaves single geometries untouched, and unions multi geometries.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------------------------|---------|\n| Feature.dissolve`(`*maxError* `, `*proj*`)` | Element |\n\n| Argument | Type | Details |\n|-----------------|----------------------------|--------------------------------------------------------------------------------------------------------------------------------|\n| this: `feature` | Element | The feature the geometry of which is being unioned. |\n| `maxError` | ErrorMargin, default: null | The maximum amount of error tolerated when performing any necessary reprojection. |\n| `proj` | Projection, default: null | If specified, the union will be performed in this projection. Otherwise it will be performed in a spherical coordinate system. |"]]