[postgis-tickets] [PostGIS] #4736: ST_NumGeometries is zero for GeometryCollection with empty parts

PostGIS trac at osgeo.org
Wed Aug 5 01:43:37 PDT 2020


#4736: ST_NumGeometries is zero for GeometryCollection with empty parts
-------------------------+---------------------------
  Reporter:  Mike Taves  |      Owner:  strk
      Type:  defect      |     Status:  assigned
  Priority:  medium      |  Milestone:  PostGIS 2.4.9
 Component:  postgis     |    Version:  2.4.x
Resolution:              |   Keywords:
-------------------------+---------------------------
Changes (by strk):

 * status:  new => assigned
 * owner:  pramsey => strk
 * milestone:  PostGIS 3.1.0 => PostGIS 2.4.9


Comment:

 We're hitting a short-circuit: if the geometry is empty, return 0
 components.
 I'd call it a bug.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4736#comment:1>
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-tickets mailing list