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

PostGIS trac at osgeo.org
Thu Oct 2 01:54:05 PDT 2014


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

Comment(by strk):

 Just a note: the structurally invalid (single-vertex) polygon is known to
 not be rendered by mapnik, see
 https://github.com/mapnik/mapnik/issues/1140 -- it might take additional
 policy parameters to distinguish between a structurally valid polygon
 shell composed by 4 cohincident vertices and one composed by 4 vertices
 among which at least 2 are distinct.

 About the "bbox", I'd still keep this as a pure DP with constraints on
 what it can do on collapse.
 Using the bbox is something you could do with a policy of "return null"
 and a COALESCE returning whatever derivate from a bbox (maybe we need some
 functions to derive nice figures from boxes, but that'd be for another
 ticket).

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