Returns a polygon from the indicated coordinates.
1 geo.getType
Returns the type of the geometry as a string, for example 'LINESTRING', 'POLYGON', 'MULTIPOINT', etc.
<geo.getType>
<geom_column /> *
</geo.getType>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Egeom_column | geometry |
Example
Copy
<select> <columns> <geo.getType>a.the_geom</geo.getType>, <geo.getType> <geo.polygon> <coords>0 0,0 1,1 1,1 0,0 0</coords> <srid>4326</srid> </geo.polygon> </geo.getType> </columns> <from table='roads' alias='a' /> </select>