[postgis-users] Question about CEOMETRYCOLLECTION

strk at refractions.net strk at refractions.net
Thu Nov 4 04:20:32 PST 2004


On Thu, Nov 04, 2004 at 02:33:56PM +0300, ksa wrote:
> Hi, all!
> 
> OpenGIS Simple Features Specification say that GeometryCollection can
> contains all other geometries, including MULTI* and GeometryCollections. But
> what about PostGIS?

Postgis-1.0.0 will support this.
Current releases do not.
--strk;

> 
> next query work not correct (on my opinion):
> select  force_collection(GeometryFromText('MULTIPOINT((0 0), (1 1))'));
> result:
> SRID=0;GEOMETRYCOLLECTION(POINT(0 0), POINT(1 1))
> 
> next query complete with error:
> select GeometryFromText('GEOMETRYCOLLECTION(MULTIPOINT((0 0), (1 1)))');
> result:
> ERROR: couldnt parse objects in GEOMETRY
> 
> Any suggestions?
> 
> Thanks!
> 
> Sergey Karin
> 
> _______________________________________________
> 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