[postgis-devel] [PostGIS] #548: st_numgeometries(geom) returns NULL when geom is not multi
PostGIS
trac at osgeo.org
Thu Jul 1 01:41:32 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 yabo):
Such change is going to break a lot of existing code that relies on the
NULL return for single geometries. The first that comes to mind is
ST_DumpPoints. I also have production code relying on this behaviour.
AFAIK there is no other way to test if a geometry is MULTI or not, so
there should be at least an ST_IsMulti introduced.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/548#comment:5>
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