ee.Feature.dissolve
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trả về một đối tượng chứa hợp của hình học của một đối tượng. Thao tác này không ảnh hưởng đến các hình học đơn lẻ và hợp nhất các hình học đa giác.
Cách sử dụng | Giá trị trả về |
---|
Feature.dissolve(maxError, proj) | Phần tử |
Đối số | Loại | Thông tin chi tiết |
---|
this: feature | Phần tử | Đối tượng có hình học đang được hợp nhất. |
maxError | ErrorMargin, mặc định: null | Lượng lỗi tối đa được chấp nhận khi thực hiện bất kỳ phép chiếu lại cần thiết nào. |
proj | Phép chiếu, mặc định: null | Nếu được chỉ định, thao tác hợp nhất sẽ được thực hiện trong phép chiếu này. Nếu không, thao tác này sẽ được thực hiện trong hệ toạ độ cầu. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 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. |"]]