Returns TRUE if there is no point of the geometry geom2 outside the geometry geom1.
 

1 geo.covers

<geo.covers>
    <geom1> *
        <geom1 /> *
    </geom1>
    <geom2> *
        <geom2 /> *
    </geom2>
</geo.covers>
Example
Copy
<select>
    <columns>
       <geo.covers>
            <geom1>geometry_col_1</geom1>
            <geom2>geometry_col_2</geom2>
       </geo.covers>
    </columns>
    <from table='buildings' alias='a' >
    </from>
    <where>
        a.name = 'MACBA'
    </where>
</select>