[PostGIS] #5361: Compound Curve inconsistent behavior with ST_GeometryN, ST_NumGeometries, and ST_Dump

PostGIS trac at osgeo.org
Thu Feb 15 17:56:47 PST 2024


#5361: Compound Curve inconsistent behavior with ST_GeometryN, ST_NumGeometries,
and ST_Dump
----------------------+---------------------------
  Reporter:  robe     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  low      |  Milestone:  PostGIS 3.5.0
 Component:  postgis  |    Version:  master
Resolution:           |   Keywords:
----------------------+---------------------------
Comment (by robe):

 Another instance ST_DumpSegments should either say it doesn't work with
 compound curves, or do something useful



 {{{
 SELECT dp.path, ST_AsText(dp.geom)
 FROM ST_DumpSegments('COMPOUNDCURVE(
 (2 2, 2.5 2.5),
 CIRCULARSTRING(2.5 2.5, 4.5 2.5, 3.5 3.5),
 (3.5 3.5, 2.5 4.5, 3 5)
 )'::geometry) AS dp;

 path | st_astext
 ------+-----------
 (0 rows)

 }}}

 Doesn't give an error but returns no rows.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5361#comment:8>
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