Returns the geometry which represents the geometry of geom1 that does not intersect with the geometry geom2.
1 geo.difference
Returns the geometry which represents the geometry of geom1 that does not intersect with the geometry geom2.
<geo.difference ora_tol='ora_tol'>
<geom1> *
<geom1 /> *
</geom1>
<geom2> *
<geom2 /> *
</geom2>
</geo.difference>
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>