[PostGIS] #5663: ST_GeometryN cannot access sections of CompoundCurve

PostGIS trac at osgeo.org
Thu Feb 15 14:35:53 PST 2024


#5663: ST_GeometryN cannot access sections of CompoundCurve
----------------------+---------------------------
  Reporter:  dbaston  |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 3.4.3
 Component:  postgis  |    Version:  3.4.x
Resolution:           |   Keywords:
----------------------+---------------------------
Comment (by pramsey):

 Ack, how "user resistant" should these be... like,
 ST_NumCurves(linestring) should be 1. And ST_NumCurves(polygon) ... should
 be equal to ST_NumRings(polygon) ? The narrowest version of this would
 only return an answer for CompoundCurve inputs, but it seems like it's not
 impossible to say that ST_CurvePolygon could return an ST_NumCurves
 answer, if we wanted (sum of subparts of all rings).
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5663#comment:7>
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