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_BingTilePolygon

Introduction: Returns the bounding polygon (Geometry) of the Bing Tile identified by the given quadkey.

Format: ST_BingTilePolygon(quadKey: String)

Return type: Geometry

SQL example:

SELECT ST_AsText(ST_BingTilePolygon('213'))

Output:

POLYGON ((0 0, 0 -40.97989806962013, 45 -40.97989806962013, 45 0, 0 0))

ST_BingTilePolygon