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

PostGIS trac at osgeo.org
Fri Jan 29 15:20:29 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 kneufeld):

 Replying to [comment:4 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.

 Right, Mulitpolyons can touch at a point, but not on a line.  You think
 it's best to automatically dissolve bordering polygons?  Yes, it is what
 buffer(0) does, but buffer(0) was never intended to clean.  What about
 having a function parameter so the can user specify dissolve or not?

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