1 geo.transform

Returns the transformed geometry to the coordinates of the reported SRID.

<geo.transform>
    <geom> *
        <geom /> *
    </geom>
    <srid> *
        <srid /> *
    </srid>
</geo.transform>
Example
Copy
<select>
    <columns>
        <geo.asWkt>
              <geo.transform>
                 <geom>a.the_geom</geom>
                 <srid>4326</srid> 
              </geo.transform>
        </geo.asWkt>,
        <geo.asWkt>a.the_geom</geo.asWkt>
    </columns>
    <from table='roads' alias='a' />
</select>
 

2 geo.reverseLine

Returns a line type geometry with the vertices of the last line as a parameter in reverse order.

<geo.reverseLine>
    <geom_column /> *
</geo.reverseLine>
Example
Copy
<select>
    <columns>
        <geo.reverseLine srid='4326'>a.the_geom</geo.reverseLine>
    </columns>
    <from table='roads' alias='a' />
</select>