[postgis-tickets] [PostGIS] #4136: st_removerepeatedpoints not fully working in 2.4.4

PostGIS trac at osgeo.org
Fri Jul 27 00:58:22 PDT 2018


#4136: st_removerepeatedpoints not fully working in 2.4.4
-----------------------+---------------------------
 Reporter:  jhaagmans  |      Owner:  pramsey
     Type:  defect     |     Status:  new
 Priority:  medium     |  Milestone:  PostGIS 2.4.5
Component:  postgis    |    Version:  2.4.x
 Keywords:             |
-----------------------+---------------------------
 When running PostGIS version 2.4.4 I see the following behaviour:
 {{{
 select ST_REMOVEREPEATEDPOINTS('POLYGON((0 0,0 1,1 1,1 1,1 0,0
 0))'::geometry);
 -> POLYGON ((0 0, 0 1, 1 1, 1 1, 1 0, 0 0))
 }}}
 (note that the second `1 1` should be removed, but isn't)

 When adding a new point at `1 2` after the second `1 1`, it works though:
 {{{
 select ST_REMOVEREPEATEDPOINTS('POLYGON((0 0,0 1,1 1,1 1,1 2,1 0,0
 0))'::geometry);
 -> POLYGON ((0 0, 0 1, 1 1, 1 2, 1 0, 0 0))
 }}}

 I discussed this on IRC where someone noted that this does work on the
 current 2.5.0beta, but as this is a production workload running on AWS RDS
 I probably shouldn't use a beta version and I thought I should report this
 behaviour anyway for posterity.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4136>
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