[postgis-tickets] [PostGIS] #4896: Allow ST_Boundary() to return start/end point of closed LineString

PostGIS trac at osgeo.org
Mon Apr 19 07:50:30 PDT 2021


#4896: Allow ST_Boundary() to return start/end point of closed LineString
--------------------------+---------------------------
  Reporter:  strk         |      Owner:  pramsey
      Type:  enhancement  |     Status:  new
  Priority:  medium       |  Milestone:  PostGIS 3.2.0
 Component:  postgis      |    Version:
Resolution:               |   Keywords:
--------------------------+---------------------------

Comment (by strk):

 What would your ST_StartPoint return against a {{{ MULTILINESTRING((0 0,
 20 0, 10 5, 0 0),(100 0,  120 0)) }}} ?

 An ST_Boundary() with BoundaryNodeRule 2 would return {{{ MULTIPOINT((0
 0), (100 0), (120 0)) }}}.
 Note how BOTH start and end points are returned for the second geometry...

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