> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ST_PointZM (Python)

> Generates a 3D point geometry column from numeric values.

Generates a 3D point geometry column from numeric values.

SQL reference: [`ST_PointZM`](/reference/wherobots-db/geometry-data/constructors/ST_PointZM)

## Signature

```python theme={"system"}
from sedona.spark.sql.st_constructors import ST_PointZM

ST_PointZM(
    x: ColumnOrNameOrNumber,
    y: ColumnOrNameOrNumber,
    z: ColumnOrNameOrNumber,
    m: ColumnOrNameOrNumber,
    srid: Optional[ColumnOrNameOrNumber] = None,
) -> Column
```

## Parameters

<ParamField path="x" type="ColumnOrNameOrNumber" required>
  Either a number or numeric column representing the X coordinate of a point.
</ParamField>

<ParamField path="y" type="ColumnOrNameOrNumber" required>
  Either a number or numeric column representing the Y coordinate of a point.
</ParamField>

<ParamField path="z" type="ColumnOrNameOrNumber" required>
  Either a number or numeric column representing the Z coordinate of a point, if None then a 2D point is generated, defaults to None
</ParamField>

<ParamField path="m" type="ColumnOrNameOrNumber" required>
  Either a number or numeric column representing the M value of a point.
</ParamField>

<ParamField path="srid" type="Optional[ColumnOrNameOrNumber]" default="None">
  The srid of the point. Defaults to 0 (unknown).
</ParamField>

## Returns

<ResponseField name="return" type="Column">
  Point geometry column generated from the coordinate values.
</ResponseField>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.