[postgis-devel] [PostGIS] #726: topology.ST_GetFaceGeometry fails to honour holes

PostGIS trac at osgeo.org
Thu Dec 23 04:34:52 PST 2010


#726: topology.ST_GetFaceGeometry fails to honour holes
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  strk         
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 1.5.3
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 For some reason ST_GetFaceGeometry is _not_ using BuildArea, which is a
 function I was pretty sure I realized for the specific purpose of using it
 for ST_GetFaceGeometry...

 Well, anyway, it's using Polygonize directly, and taking the first polygon
 returned from it. In my case this seems to be the hole rather than the
 external one. BuildArea would have done a better job at it.

 I've committed a testcase showing it
 (topology/test/regress/st_getfacegeometry.sql).
 Not automated (as it's failing).

 Power People: can you add a 'topology' component ? TIA

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/726>
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