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

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