Skip to content
πŸŽ‰ SedonaDB 0.4.0 is out now! πŸ—ΊοΈ Python DataFrame API, R dplyr, Geography support & GPU-accelerated spatial joins. Read the release blog β†’

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])

Return type: Array<Geometry>

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)), ...]

ST_BingTileToGeom