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.
When a multipolygon is returned the multipolygon may have shared edges. This results in an invalid multipolygon. |
Availability: 2.0.0