[postgis-devel] [PostGIS] #399: ST_CleanGeometry

PostGIS trac at osgeo.org
Fri Jan 29 15:10:12 PST 2010


#399: ST_CleanGeometry
----------------------+-----------------------------------------------------
  Reporter:  strk     |       Owner:  strk         
      Type:  task     |      Status:  new          
  Priority:  medium   |   Milestone:  PostGIS 2.0.0
 Component:  postgis  |     Version:               
Resolution:           |    Keywords:               
----------------------+-----------------------------------------------------
Comment (by pramsey):

 MULTIPOLYGON is allowed to touch at one point:
 {{{
 select isvalid('MULTIPOLYGON(((0 0, 0 1, 1 1, 1 0, 0 0)), ((1 1, 1 2, 2 2,
 2 1, 1 1)))');
  isvalid
 ---------
  t
 (1 row)
 }}}
 Gets more complex as the rings start to share whole segments... in those
 cases the boundaries should actually be dissolved... which is what the
 buffer(0) case does.

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