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>
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>