Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain Earth Engine access.
The geometry used as the left operand of the operation.
right
Geometry
The geometry used as the right operand of the operation.
maxError
ErrorMargin, default: null
The maximum amount of error tolerated when performing any necessary reprojection.
proj
Projection, default: null
The projection in which to perform the operation. If not specified, the operation will be performed in a spherical coordinate system, and linear distances will be in meters on the sphere.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 UTC."],[[["`symmetricDifference()` returns a Geometry representing the parts of two geometries that do not intersect."],["It operates on a \"left\" geometry (on which the method is called) and a \"right\" geometry (provided as an argument)."],["Optional parameters allow for specifying the maximum error tolerance (`maxError`) and the projection (`proj`) for the operation."],["If a projection is not specified, calculations are performed in a spherical coordinate system using meters as the unit of distance."]]],["The `symmetricDifference` method calculates the symmetric difference between two geometries (`left` and `right`). It returns a new geometry representing the areas unique to each input. The method accepts an optional `maxError` for reprojection tolerance and a `proj` parameter to specify the projection. Both JavaScript and Python code examples demonstrate how to use the function, defining a `LineString` and a `BBox`, applying `symmetricDifference`, and visualizing the result.\n"]]