Skip to main content
Return a geometry with a 3D coordinate of value ‘zValue’ forced upon it. No change happens if the geometry is already 3D SQL reference: ST_Force3DZ

Signature

Parameters

ColumnOrName
required
Geometry column to make 3D
Optional[Union[ColumnOrName, float]]
default:"0.0"
Optional value of z coordinate to be potentially added, default value is 0.0

Returns

Column
3D geometry with either already present z coordinate if any, or zcoordinate with given zValue