[postgis-tickets] [PostGIS] #2093: Add extra policy argument to control ST_Simplify behavior
PostGIS
trac at osgeo.org
Wed May 27 13:59:38 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):
So,
* is changing the behaviour to preserve collapsed features not on at all?
* if it **is** on, then how about some simple changes to ensure that any
polygon preserved will be 4+ vertices and any line 2+ vertices (see patch
above)
* if it **isn't** on, then about about a simple boolean flag to turn on
preserve-or-not behavior
As strk has demonstrated above, the current behavior isn't exactly
consistent... a collapsed line will come out as a single point, which is
an invalid construction; a collapsed polygon will just go away. We should
either have all collapsed things go away, or have them all survive as
valid constructions (but not valid geometries, there's only so much we can
do).
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2093#comment:28>
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