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

Return the Extended Well-Known Text representation of a geography.
EWKT is an extended version of WKT which includes the SRID of the geography.
The format originated in PostGIS but is supported by many GIS tools.

## Signatures

```sql theme={"system"}
ST_AsEWKT (A: Geography)
```

## Parameters

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

## Return type

<ResponseField type="String">
  A string representation.
</ResponseField>

## Example

```sql theme={"system"}
SELECT ST_AsEWKT(ST_GeogFromWKT('LINESTRING (1 2, 3 4, 5 6)', 4326))
```

```
SRID=4326; LINESTRING (1 2, 3 4, 5 6)
```
