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

PostGIS trac at osgeo.org
Wed Aug 5 01:46:09 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:
-------------------------+---------------------------

Comment (by strk):

 The shortcut was introduced with
 [c35cc257f983151aade662d81689423190c97417/git] with an overall behavioural
 review of empty geometries handling, referencing ticket #692 and wiki page
 DevWikiEmptyGeometry which I guess should be UPDATED if we do NOT want
 empty collections to return 0 from ST_NumGeometries ..

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