[postgis-devel] [PostGIS] #1698: Review polygon collapse policy in ST_Simplify

PostGIS trac at osgeo.org
Thu Mar 22 01:32:18 PDT 2012


#1698: Review polygon collapse policy in ST_Simplify
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  task     |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.1
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 An example of the above:
 {{{
 $ select st_asewkt(st_simplify('GEOMETRYCOLLECTION(MULTIPOLYGON(((0 0, 1
 0, 1 1, 0 1, 0 0)),((20 0, 20 20, 40 20, 40 0, 20 0))),POINT(10 10))',
 2));
  GEOMETRYCOLLECTION(MULTIPOLYGON( EMPTY,((20 0,20 20,40 20,40 0,20
 0))),POINT(10 10))
 }}}

 By the way, the parser is unable to understand the WKT version of the
 above. See #1703.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1698#comment:2>
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-devel mailing list