Skip to main content
Constructs a Geography Collection from a WKT (Well-Known Text) string. If SRID is not set, it defaults to 0 (unknown). The input WKT must represent a geometry collection.

Signatures

Parameters

wkt
String
required
A Well-Known Text (WKT) representation of a geometry collection.
srid
Integer
Spatial Reference Identifier. Defaults to 0 if not specified.

Return type

The constructed geography collection object.

Examples