Calculates the cartesian distance between two geometric objects. The distance between two geometric objects is the distance between the closer points or segments between both objects.

# 1 geo.distanceCartesian

<geo.distanceCartesian    ora_tol='ora_tol'    ora_unit='M|KM|CM|MM|MILE|NAUT_MILE|FOOT|INCH|SQ_KM...'>    <geom1> *        <geom1 /> *    </geom1>    <geom2> *        <geom1 /> *    </geom2></geo.distanceCartesian>
Example
Copy
<select>
<columns>
<geo.distanceCartesian ora_tol='0.004' ora_unit='KM'>
<geom1>a.the_geom</geom1>
<geom2>a.the_geom</geom2>
</geo.distanceCartesian>
</columns>
<from table='points' alias='a' >
<join table='points' alias='b'>
</join>
</from>
<where>
a.id = 134 AND b.id = 24356
</where>
</select>