跳转至
🎉 SedonaDB 0.4.0 已正式发布!🗺️ 新增 Python DataFrame API、R dplyr 接口、Geography 支持及 GPU 加速空间连接。阅读发布博客 →

ST_BingTilesAround

Introduction: Returns an array of Bing Tile quadkey strings representing the neighborhood tiles around the tile that contains the given point (longitude, latitude) at the specified zoom level. Returns the 3×3 neighborhood (up to 9 tiles), or fewer tiles at the edges/corners of the map.

Format: ST_BingTilesAround(longitude: Double, latitude: Double, zoomLevel: Integer)

Return type: Array<String>

Since: v1.9.0

SQL Example

SELECT ST_BingTilesAround(60, 30.12, 1)

Output:

[0, 2, 1, 3]

ST_BingTilesAround