Returns the geometry which represents the geometric parts og geom1 and geom2 that do not intersect. It is called symmetric because
ST_SymDifference(geom1,geom2) = ST_SymDifference(geom2,geom1). It can be understand as: ST_Union(geom1,geom2) - ST_Intersection(geom1,geom2).
1 geo.symDifference
<geo.symDifference ora_tol='ora_tol'>
<geom1> *
<geom1 /> *
</geom1>
<geom2> *
<geom2 /> *
</geom2>
</geo.symDifference>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Aora_tol | decimal | 0.05 | Tolerance. It is only used in oracle. |
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Egeom1 | |||||
Egeom1 | geometry | ||||
Egeom2 | |||||
Egeom2 | geometry |
Example
Copy
<select> <columns> <geo.difference ora_tol=''> <geom1>geometry_col_1</geom1> <geom2>geometry_col_2</geom2> </geo.difference> </columns> <from table='buildings' alias='a' > </from> <where> a.name = 'MACBA' </where> </select>