[postgis-devel] LWGEOM: collection type

David Blasby dblasby at gmail.com
Tue Aug 24 08:16:47 PDT 2004


> 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



More information about the postgis-devel mailing list