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

Returns an array of Polygons for the corresponding Bing Tile quadkeys.

<Tip>
  To convert a Polygon array to a single geometry, use [ST\_Collect](/reference/wherobots-db/geometry-data/editors/ST_Collect).
</Tip>

## Signatures

```sql theme={"system"}
ST_BingTileToGeom(quadKeys: Array[String])
```

## Parameters

<ParamField body="quadKeys" type="Array[String]" required>
  The quad keys value.
</ParamField>

## Return type

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

## Example

```sql theme={"system"}
SELECT ST_BingTileToGeom(array('0', '1', '2', '3'))
```

```
[POLYGON ((-180 85.05112877980659, -180 0, 0 0, 0 85.05112877980659, -180 85.05112877980659)), ...]
```

<img src="https://mintcdn.com/wherobots/AayJA2u8CknIeTgt/images/sql-functions/ST_BingTileToGeom/ST_BingTileToGeom.svg?fit=max&auto=format&n=AayJA2u8CknIeTgt&q=85&s=a09aa335bd782d2dce37f7a5276f5c2a" alt="ST_BingTileToGeom" width="400" height="200" data-path="images/sql-functions/ST_BingTileToGeom/ST_BingTileToGeom.svg" />
