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

Return the Well-Known Binary representation of a geometry

## Signatures

```sql theme={"system"}
ST_AsBinary (A: Geometry)
```

## Parameters

<ParamField body="A" type="Geometry" required>
  The input geometry.
</ParamField>

## Return type

<ResponseField type="Binary">
  The computed result.
</ResponseField>

## Example

```sql theme={"system"}
SELECT ST_AsBinary(ST_GeomFromWKT('POINT (1 1)'))
```

```
0101000000000000000000f87f000000000000f87f
```
