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

ST_BingTileCellIDs

Introduction: Returns an array of Bing Tile quadkey strings that cover the given geometry at the specified zoom level.

Format: ST_BingTileCellIDs(geom: Geometry, zoomLevel: Integer)

Return type: Array<String>

Since: v1.9.0

SQL Example

SELECT ST_BingTileCellIDs(ST_GeomFromText('POINT(60 30.12)'), 10)

Output:

[1230301230]

ST_BingTileCellIDs