> ## 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_MakePointM

Creates a point with X, Y, and M coordinate. Use [ST\_MakePoint](/reference/wherobots-db/geometry-data/constructors/ST_MakePoint) to make points with XY, XYZ, or XYZM coordinates.

## Signatures

```sql theme={"system"}
ST_MakePointM(x: Double, y: Double, m: Double)
```

## Parameters

<ParamField body="x" type="Double" required>
  The X coordinate (longitude).
</ParamField>

<ParamField body="y" type="Double" required>
  The Y coordinate (latitude).
</ParamField>

<ParamField body="m" type="Double" required>
  The M coordinate (measure).
</ParamField>

## Return type

<ResponseField type="Geometry">
  The resulting geometry.
</ResponseField>

## Example

```sql theme={"system"}
SELECT ST_MakePointM(1, 2, 3)
```

```
Point M(1 2 3)
```
