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

PostGIS trac at osgeo.org
Sat Feb 27 08:43:28 PST 2010


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

 * cc: andrea.peri at regione.toscana.it (added)

Comment:

 Behaviour changed again. Now even lines which have all vertices already
 represented as nodes of the original boundary are kept, as long as they
 are not *part* of the original boundary.
 Maximum effort is done at keeping all the boundaries. This means dropping
 areas as required to keep all lines (think two overlapping polygons with
 the overlap part becoming an hole of the output).

 I haven't checked carefully but I think vertices of lines which do not add
 significant informations to the line itself (collinear) are not
 necessarely maintained.
 It is left to the caller to check if all vertices are still represented.

 I guess it's time to work on documentation and testing.

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