[postgis-tickets] [PostGIS] #2093: Add extra policy argument to control ST_Simplify behavior

PostGIS trac at osgeo.org
Thu May 28 11:46:03 PDT 2015


#2093: Add extra policy argument to control ST_Simplify behavior
--------------------------+---------------------------
  Reporter:  robe         |      Owner:  pramsey
      Type:  enhancement  |     Status:  new
  Priority:  medium       |  Milestone:  PostGIS 2.2.0
 Component:  postgis      |    Version:  trunk
Resolution:               |   Keywords:
--------------------------+---------------------------

Comment (by pramsey):

 OK then, in the spirit of **improvement** then, I've added an extra
 parameter to control collapses. I've also changed the LINESTRING collapse
 behavior to return NULL on collapse instead of an illegal one-point line.
 I've also changed both LINESTRING and POLYGON to return NULL when fed an
 EMPTY input.

 In the presence of the "preserve collapsed" parameter, the function will
 now return at a minimum 4 point polygons and 2 point lines.

 Concerns?

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2093#comment:32>
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