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

PostGIS trac at osgeo.org
Mon Apr 19 09:37:42 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 mdavis):

 This is the one of the reasons that the BoundaryNodeRule concept was
 introduced in JTS: it's handy to be able to use it to get the node point
 of closed LineStrings.  (And it also allows getting the endpoints of
 degree 1 in a MultiLineString, rather than being hostage to the less-
 useful Mod-2 rule of the standard.

 So +1 for adding BoundaryNodeRule support to `ST_Boundary`, especially
 since it is already provided for `ST_Relate`.

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