[postgis-devel] [PostGIS] #548: st_numgeometries(geom) returns NULL when geom is not multi

PostGIS trac at osgeo.org
Thu Jul 1 01:54:40 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):

 Looking into postgis trunk I see that DumpPoints was patched to replace
 the use of NumGeometries by :

 {{{IF (typ like 'ST_Multi%' OR typ = 'ST_GeometryCollection') THEN}}}

 Still, having a ST_IsMulti would be better I think.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/548#comment:6>
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