[postgis-tickets] [PostGIS] #4925: ST_DumpPoints overlooks points

PostGIS trac at osgeo.org
Sun Jun 6 07:30:52 PDT 2021


#4925: ST_DumpPoints overlooks points
---------------------+---------------------------
 Reporter:  kalenik  |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 3.2.0
Component:  postgis  |    Version:  master
 Keywords:           |
---------------------+---------------------------
 {{{
 => SELECT path, ST_AsText(geom)
 FROM (
          SELECT (ST_DumpPoints(g.geom)).*
          FROM (SELECT 'GEOMETRYCOLLECTION(
           POINT(11 11),
           GEOMETRYCOLLECTION EMPTY,
           POINT(22 22),
           GEOMETRYCOLLECTION EMPTY,
           POINT(33 33),
           POINT(44 44)
         )'::geometry AS geom
               ) AS g
      ) j;
  path  │  st_astext
 ───────┼──────────────
  {1,1} │ POINT(11 11)
  {6,1} │ POINT(44 44)
 (2 rows)
 }}}

 Doesn't seem like correct behaviour since points before GeometryCollection
 are not included in resulting set.

 [https://github.com/postgis/postgis/pull/616] -- patch

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4925>
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