跳转至
🎉 Apache Sedona 1.9.1 已正式发布!🗺️ 新增 Geography SQL 函数、Box2D 与 Box3D 类型、栅格 Python UDF 等。查看发布说明 →

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