Skip to content
Apache Sedona 1.9.0 is out now, featuring Spark 4.1 support, proj4sedona CRS transformation, Bing Tile functions, and more!

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.5.0

Example:

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

Output:

MULTIPOINT (1 1)