[postgis-devel] Is errorIfGeometryCollection necessary for relate ops?
Sandro Santilli
strk at keybit.net
Mon Apr 13 00:59:13 PDT 2015
On Fri, Apr 10, 2015 at 10:40:32AM -0700, Martin Davis wrote:
> re what is happening in Shapely with relate on GeometryCollections:
>
> In fact, homogeneous GeometryCollections of Points and LineStrings can be
> trivially converted to MultiPoints and MultiLineStrings. Is is possible
> that Shapely is doing this automatically?
>
> Handling homogeneous GCs would be a nice enhancement for JTS & GEOS....
There's actually a ST_CollectionHomogenize function in PostGIS that
can be used to do just that.
--strk;
More information about the postgis-devel
mailing list