[postgis-devel] [PostGIS] #312: ST_ConcaveHull

PostGIS trac at osgeo.org
Mon Jan 17 12:25:58 PST 2011


#312: ST_ConcaveHull
-------------------------+--------------------------------------------------
 Reporter:  robe         |       Owner:  robe         
     Type:  enhancement  |      Status:  assigned     
 Priority:  medium       |   Milestone:  PostGIS 2.0.0
Component:  postgis      |     Version:               
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by robe):

 Thought about calling it alpha hull, but didn't much like that term.  The
 algorithms we used I couldn't really think of how it mapped to all those
 discussed in the literature.

 The basic inspiration of it comes from a dream where you start with a
 Convex Hull and then you cave it (shrink wrap) in until you can cave it in
 no more.  The percent target is meant to be the percent target of the
 convex hull.  Well in theory if you think about it, you can't always hit
 your target percent and sometimes it even overshoots depending on how it
 slices up the geometry.  So the function recurses trying to reach the
 target until it reaches a point where it can do no better (or hits one of
 those topological exceptions thrown by GEOS) and then exits with the best
 solution it had.

 Right now we're tackling issues with GEOS with the tolerances causing
 problems and yielding too many  topological exception errors (and fixing
 sometimes produces a concave hull that does not fully contain the
 geometry). Haven't revisited that yet
 -- but will soon once other tasks lighten up.

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