Returns the geometric center of a geometry or of a geometry set. The geometry must be one or a set of POINTS, POLYGON or MULTIPOLYGON.
 

1 geo.centroid

<geo.centroid ora_tol='ora_tol'>
    <geometry_column /> *
</geo.centroid>
Example
Copy
<select>
    <columns>
        <geo.centroid ora_tol='0.005'>a.the_geom</geo.centroid>
    </columns>
    <from table='buildings' alias='a' />
    <where>
        a.name = 'MACBA'
    </where>
</select>