[postgis-tickets] [PostGIS] #3843: st_RemoveRepeatedPoints misses duplicate in polygon

PostGIS trac at osgeo.org
Thu Nov 30 06:46:35 PST 2017


#3843: st_RemoveRepeatedPoints misses duplicate in polygon
-----------------------+-------------------------------------
  Reporter:  crispond  |      Owner:  pramsey
      Type:  defect    |     Status:  reopened
  Priority:  medium    |  Milestone:  PostGIS 2.4.0
 Component:  postgis   |    Version:  2.4.x
Resolution:            |   Keywords:  st_RemoveRepeatedPoints
-----------------------+-------------------------------------

Comment (by pramsey):

 I'm seeing it working right on my system on svn trunk
 {{{
 postgis25=# SELECT ST_AsText(ST_RemoveRepeatedPoints('POLYGON((90.352399
 23.794183,90.352332 23.79418,90.352327 23.79429,90.352327
 23.79429,90.352399 23.794183))'));
                                         st_astext
 ------------------------------------------------------------------------------------------
  POLYGON((90.352399 23.794183,90.352332 23.79418,90.352327
 23.79429,90.352399 23.794183))
 (1 row)

 postgis25=# SELECT ST_AsText(ST_RemoveRepeatedPoints('LINESTRING(90.352399
 23.794183,90.352332 23.79418,90.352327 23.79429,90.352327
 23.79429,90.352399 23.794183)'));
                                          st_astext
 -------------------------------------------------------------------------------------------
  LINESTRING(90.352399 23.794183,90.352332 23.79418,90.352327
 23.79429,90.352399 23.794183)
 (1 row)
 }}}

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