Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Feature.dissolve
Stay organized with collections
Save and categorize content based on your preferences.
Returns a feature containing the union of the geometry of a feature. This leaves single geometries untouched, and unions multi geometries.
Usage | Returns | Feature.dissolve(maxError, proj) | Element |
Argument | Type | Details | this: feature | Element | The feature the geometry of which is being unioned. |
maxError | ErrorMargin, default: null | The maximum amount of error tolerated when performing any necessary reprojection. |
proj | Projection, default: null | If specified, the union will be performed in this projection. Otherwise it will be performed in a spherical coordinate system. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["\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. |"]]