跳转至
Apache Sedona 1.9.0 已正式发布,新增 Spark 4.1 支持、proj4sedona 坐标系转换、Bing Tile 函数等众多特性!

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