Description
The ST_FromKML
function returns a WritableGeometry
instance from the text formatted in KML (Keyhole Markup Language).
Syntax
ST_GeomFromKML(String geometry)
Parameters
Parameter | Type | Description |
---|---|---|
geometry | String | A KML string, where only the geometry or geometry in placemark will be parsed. |
Return Values
Return Type | Description |
---|---|
WritableGeometry | The geometry from KML format. |
Examples
SELECT ST_GeomFromKML(t.geometry) FROM table t;