Skip to content
🎉 Apache Sedona 1.8.1 is now available! Check out the new features and improvements.

ST_BingTileToGeom

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

Hint

To convert a Polygon array to a single geometry, use ST_Collect.

Format: ST_BingTileToGeom(quadKeys: Array[String])

Since: v1.9.0

SQL Example

SELECT ST_BingTileToGeom(array('0', '1', '2', '3'))

Output:

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