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

ST_Multi

Introduction: Returns a MultiGeometry object based on the geometry input. ST_Multi is basically an alias for ST_Collect with one geometry.

ST_Multi

Format: ST_Multi(geom: Geometry)

Return type: Geometry

Since: v1.2.0

SQL Example

SELECT ST_Multi(ST_GeomFromText('POINT(1 1)'))

Output:

MULTIPOINT (1 1)