[postgis-devel] [PostGIS] #399: ST_CleanGeometry
PostGIS
trac at osgeo.org
Sun Feb 14 15:06:19 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:
----------------------+-----------------------------------------------------
Comment (by strk):
Alright. Something to see is in r5240.
It is an ST_MakeValid() function, taking an optional boolean parameter
saying if dimensionally collapsed parts should also be collected in
output. You can take
a look at the new regression test for example of cases handled by this
one.
Collapsed parts are basically only portion of rings which go up and down
the
same path and do not fall inside the containing shell. They are also
referred
to as "cut edges" from polygonize operation. The function currently
doesn't collect
dimensional collapsed rings which are internal to the shell as that part
is considered
already included in the topological point set found in output.
In the same revision there's a stub for an ST_CleanGeometry() basically
wrapping
ST_MakeValid and performing additional cleanups (forceRHR,
removeRepeatedPoint)
and checks on output (same type, no discarded points). This is just a
stub, not
completed yet (and no regress test consequently).
Early tests and comments welcome.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/399#comment:22>
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