[postgis-tickets] [PostGIS] #4156: ST_ChaikinSmoothing not treating inner and outer rings the same

PostGIS trac at osgeo.org
Wed Sep 19 21:41:13 PDT 2018


#4156: ST_ChaikinSmoothing not treating inner and outer rings the same
----------------------+---------------------------
  Reporter:  komzpa   |      Owner:  nicklas
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 3.0.0
 Component:  postgis  |    Version:  trunk
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by nicklas):

 Yes, that is valid points.

 But I think it is different what different people find as surprise?

 I agree that this default behavior not is very useful for polygons. The
 networks I mentioned is linestrings.

 The reason for this behavior anyway is that I wanted the same default
 behavior for all geometry types. I thought that would give less surprises.

 This is also the behavior for ST_Simplify and ST_SimplifyVW, which I think
 people might relate this function to.


 {{{
 select st_simplify(geom, 2) geom from
 (
   select 'polygon((10 10, 11 15, 15 15, 16 10, 15 5, 11 5, 10
 10))'::geometry geom
 )a

 }}}

 I don't have any strong personal feelings about this, so if people wants
 this changed I have no problem with that.

 But now it is also too late for 2.5 so it will be a breaking change in
 PostGIS 3.0 which is a good place to put breaking changes of course).

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