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

PostGIS trac at osgeo.org
Mon May 1 12:50:34 PDT 2023


#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.4.0
 Component:  postgis  |    Version:  master
Resolution:           |   Keywords:
----------------------+---------------------------
Comment (by pramsey):

 Perhaps it is ST_GeometryN that needs the fix...

 Yes, a compoundcurve is "one thing", but it could also be considered
 "three things with some rules" (namely the endpoint-to-endpoint coordinate
 matching). Linear ring is just a linestring with an extra rule.

 So I guess it should be possible to deconstruct a CompoundCurve with
 ST_GeometryN? Certainly since we can dump it already.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5361#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