[postgis-devel] [PostGIS] #548: st_numgeometries(geom) returns NULL when geom is not multi
PostGIS
trac at osgeo.org
Thu Jul 1 02:30:05 PDT 2010
#548: st_numgeometries(geom) returns NULL when geom is not multi
-----------------------+----------------------------------------------------
Reporter: giohappy | Owner: pramsey
Type: defect | Status: closed
Priority: medium | Milestone: PostGIS 1.5.2
Component: postgis | Version: 1.5.X
Resolution: wontfix | Keywords:
-----------------------+----------------------------------------------------
Comment(by strk):
IsMulti is kind of confusing. Is a single-element collection a "multi" ?
And is an empty collection a "Multi" ?
Maybe ST_IsCollection() would be clearer, whereas all the MULTI* types are
subclasses
of the GEOMETRYCOLLECTION (as per OGC SFS). Also, it might have the nice
characteristic
of being always true on the result of ST_Collect (to be verified).
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/548#comment:7>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list