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 a GeometryCollection of Polygons for the corresponding Bing Tile quadkeys.

Format: ST_BingTileToGeom(quadKeys: Array)

Return type: Array<Geometry>

SQL example:

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

Output:

GEOMETRYCOLLECTION (POLYGON ((-180 85.05112877980659, -180 0, 0 0, 0 85.05112877980659, -180 85.05112877980659)), ...)

ST_BingTileToGeom