[postgis-users] How to index GeometryCollections

Paul Ramsey pramsey at cleverelephant.ca
Thu Oct 1 12:58:25 PDT 2009


File a ticket on it. There's no reason we shouldn't be able to recurse
into collections and get true/false predicates.

On Thu, Oct 1, 2009 at 12:36 PM, Andreas Kalsch <andreaskalsch at gmx.de> wrote:
> The query
>
> "SELECT class, id FROM geoobject_geom
> WHERE ST_Intersects(
>   GeomFromText(?, 4326),
>   geom
> )
> LIMIT 1000"
>
> results in exception
>
> "SQLSTATE[XX000]: Internal error: 7 ERROR:  Relate Operation called with
> a LWGEOMCOLLECTION type.  This is unsupported"
>
> 1) When will the relation check functions support GeometryCollections as
> arguments? This is even supported in MySQL ;)
> 2) Is the only way to index GeometryCollections to index many single
> geometries?
>
> Thanks,
>
> Andi
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>



More information about the postgis-users mailing list