[postgis-tickets] [PostGIS] #3265: ST_GetFaceEdge: ERROR: No edge (among 3) found to be defining geometry of face 2

PostGIS trac at osgeo.org
Wed Aug 26 07:25:05 PDT 2015


#3265: ST_GetFaceEdge: ERROR:  No edge (among 3) found to be defining geometry of
face 2
-----------------------+---------------------------
  Reporter:  strk      |      Owner:  strk
      Type:  defect    |     Status:  closed
  Priority:  blocker   |  Milestone:  PostGIS 2.2.0
 Component:  topology  |    Version:  trunk
Resolution:  fixed     |   Keywords:
-----------------------+---------------------------
Changes (by strk):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 I found the problem. The code finding the edge covering "next portion" of
 ring was not early failing on first non-common vertex. I've also spotted
 another bug which was failing to return a single clockwise edge as the
 shell of a face (due to the "next edge finder" code not considering the
 possibility of a closed edge).

 No need to revert to original algorithm ! (slower)

 Full test for all these cases added in 2.1 branch with r14006 and in 2.0
 branch with r14008.
 Trunk got fix and tests with r14007.

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3265#comment:2>
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-tickets mailing list