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

**A** `Geometry` *required*

The input geometry.

## Return type

The computed result.

## Example

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

```
0101000000000000000000f87f000000000000f87f
```


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