[postgis-tickets] [PostGIS] #3388: ST_RemoveRepeatedPoints can change endpoint

PostGIS trac at osgeo.org
Tue Dec 1 08:43:40 PST 2015


#3388: ST_RemoveRepeatedPoints can change endpoint
----------------------+---------------------------
  Reporter:  strk     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 2.2.1
 Component:  postgis  |    Version:  2.2.x
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by strk):

 Indeed the last point is retained IFF the line is a 2 vertices line:
 {{{
 select ST_AsText(ST_RemoveRepeatedPoints('LINESTRING(10 0,10 1)', 2));
        st_astext
 -----------------------
  LINESTRING(10 0,10 1)
 (1 row)
 }}}

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