Returns the length of a line on the indicated spheroide.

1 geo.lengthSpheroid

<geo.lengthSpheroid
    ora_tol='ora_tol'
    ora_unit='M|KM|CM|MM|MILE|NAUT_MILE|FOOT|INCH|SQ_KM...'
>
    <geom1> *
        <geom1 /> *
    </geom1>
    <geom2> *
        <geom1 /> *
    </geom2>
    <spheroid /> *
</geo.lengthSpheroid>
Example
Copy
<select>
    <columns>
        <geo.lengthSpheroid ora_tol='0.005'>
             <geom1>a.the_geom</geom1>
             <spheroid> 'SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]]'</spheroid>
        </geo.distanceSpheroid>
    </columns>
    <from table='points' alias='a' >
        <join table='points' alias='b'>
        </join>
    </from>
    <where>
        a.name = 'Barcelona' AND b.name = 'London'
    </where>
</select>