[postgis-devel] LWGEOM: collection type

strk at refractions.net strk at refractions.net
Tue Aug 24 08:33:24 PDT 2004


On Tue, Aug 24, 2004 at 08:16:47AM -0700, David Blasby wrote:
> > OGC functions like NumPoints(), NumRings(), ExteriorRing() are
> > described as working on the *first* appropriate element found in
> > a collection. Now my question is:
> 
> I dont think this is correct (sorry - dont have the ogc spec with me to check).
> 
> I believe NumPoints() is supposed to *only* be called on lines, and
> NumRings() on Polygons, etc...
> 
> PostGIS allowed it to run on multi* geometries just for convenience...
> 
> dave

You're right Dave.
In this case I won't be too paranoid about that.
Thanks.
--strk;

> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel



More information about the postgis-devel mailing list