1 geo.transform
Returns the transformed geometry to the coordinates of the reported SRID.
<geo.transform>
<geom> *
<geom /> *
</geom>
<srid> *
<srid /> *
</srid>
</geo.transform>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Egeom | geometry | Geometric Object | |||
Egeom | geometry | ||||
Esrid | Integer | SRID of geometry | |||
Esrid | Integer |
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>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Egeom_column | geometry | Geometric object of LINESTRING type. |
Example
Copy
<select> <columns> <geo.reverseLine srid='4326'>a.the_geom</geo.reverseLine> </columns> <from table='roads' alias='a' /> </select>