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

Construct a Point geometry from WKB string or Binary and an optional SRID. This function also supports EWKB format.

<Note />

Returns null if geometry is not of type Point.

## Signatures

```sql theme={"system"}
ST_PointFromWKB (Wkb: String)
```

```sql theme={"system"}
ST_PointFromWKB (Wkb: Binary)
```

```sql theme={"system"}
ST_PointFromWKB (Wkb: String, srid: Integer)
```

```sql theme={"system"}
ST_PointFromWKB (Wkb: Binary, srid: Integer)
```

## Parameters

<ParamField body="Wkb" type="String" required>
  A Well-Known Binary (WKB) representation of a geometry.
</ParamField>

<ParamField body="srid" type="Integer">
  Spatial Reference Identifier.
</ParamField>

## Return type

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

## Example

```sql theme={"system"}
SELECT ST_PointFromWKB([01 01 00 00 00 00 00 00 00 00 00 24 40 00 00 00 00 00 00 2e 40])
```

```
POINT (10 15)
```
