Skip to main content
Generate a 2D, 3D Z or 4D ZM Point geometry. If z is None then a 2D point is generated. This function doesn’t support M coordinates for creating a 4D ZM Point in Dataframe API. SQL reference: ST_MakePoint

Signature

Parameters

ColumnOrNameOrNumber
required
Either a number or numeric column representing the X coordinate of a point.
ColumnOrNameOrNumber
required
Either a number or numeric column representing the Y coordinate of a point.
Optional[ColumnOrNameOrNumber]
default:"None"
Either a number or numeric column representing the Z coordinate of a point, if None then a 2D point is generated, defaults to None
Optional[ColumnOrNameOrNumber]
default:"None"
Either a number or numeric column representing the M coordinate of a point, if None then a point without M coordinate is generated, defaults to None

Returns

Column
Point geometry column generated from the coordinate values.