ST_CollectionHomogenize — Given a geometry collection, returns the "simplest" representation of the contents.
geometry ST_CollectionHomogenize(
geometry collection)
;
Given a geometry collection, returns the "simplest" representation of the contents. Singletons will be returned as singletons. Collections that are homogeneous will be returned as the appropriate multi-type.
Availability: 2.0.0