Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt

Use this file to discover all available pages before exploring further.

Construct a Geometry from KML.

Signatures

ST_GeomFromKML (kml: String)

Parameters

kml
String
required
A KML string representation of a geometry.

Return type

The resulting geometry.

Example

SELECT ST_GeomFromKML('
	<LineString>
		<coordinates>
			-71.1663,42.2614
			-71.1667,42.2616
		</coordinates>
	</LineString>
')
LINESTRING (-71.1663 42.2614, -71.1667 42.2616)