Returns a polygon from the indicated coordinates.
1 geo.polygon
<geo.polygon>
<coords> *
<coords /> *
</coords>
<srid> *
<srid /> *
</srid>
</geo.polygon>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Ecoords | Coordinates of the geometry, separated by ",". | ||||
Ecoords | string | ||||
Esrid | SRID of the geometry. | ||||
Esrid | integer |
Example
Copy
<select> <columns> <geo.polygon> <coords>0 0,0 1,1 1,1 0,0 0</coords> <srid>4326</srid> </geo.polygon> </columns> <from table='dual' /> </select>