A string containing the text representation of a geometry. The input can be in any supported text input format, including
Well Known Text (WKT) or Extended Well Known Text (EWKT).
srid
INT
The SRID of the result. If not specified and the input string does not contain a SRID, the default is 0.
Parses a text string representing a geometry and creates a geometry value of the appropriate type. This method is used by
the server when evaluating a cast from a character string to a geometry type.
The server detects the format of the input string. Some input formats contain a SRID definition. If provided, the srid parameter must match any value taken from the input string.