Skip to main content
Generate a point geometry column from coordinates separated by a delimiter and stored in a string column. SQL reference: ST_PointFromText

Signature

Parameters

ColumnOrName
required
String column with the stored coordinates.
ColumnOrName
required
Delimiter separating the coordinates, a string constant must be wrapped as a string literal (using pyspark.sql.functions.lit).

Returns

Column
Point geometry column generated from the coordinates.