id summary reporter owner description type status priority milestone component version resolution keywords cc 375 Add lwcollection_homogenize and ST_Homogenize colivier pramsey "{{{ /* ** Given a generic collection, return the ""simplest"" form. ** ** eg: GEOMETRYCOLLECTION(MULTILINESTRING()) => MULTELINESTRING() ** GEOMETRYCOLLECTION(MULTILINESTRING(), MULTILINESTRING(), POINT()) ** => GEOMETRYCOLLECTION(MULTILINESTRING(), MULTIPOINT()) ** ** In general, if the subcomponents are homogeneous, return a properly ** typed collection. ** Otherwise, return a generic collection, with the subtypes in minimal ** typed collections. }}} I need this stuff for ST_GeomFromKML, to be able to return simplest geometry forms if KML input is mixed. " enhancement closed medium PostGIS 2.0.0 postgis fixed homogenize collection ST_GeomFromKML