제목

ST_Multi — 도형을 멀티 유형 도형으로 반환합니다.

요약

geometry ST_Multi(geometry geom);

설명

Returns the geometry as a MULTI* geometry collection. If the geometry is already a collection, it is returned unchanged.

예시

A Polygon is converted to a single-element MultiPolygon. The coordinates are unchanged.

Code
SELECT ST_Multi('POLYGON ((10 30,30 30,30 10,10 10,10 30))');
래스터 출력
MULTIPOLYGON(((10 30,30 30,30 10,10 10,10 30)))
Figure
Geometry figure for visual-st-multi-01

참고

ST_AsText