[postgis-devel] [PostGIS] #1383: Topology: ST_AddEdgeNewFaces() fail to add an edge

PostGIS trac at osgeo.org
Thu Jan 12 06:39:28 PST 2012


#1383: Topology: ST_AddEdgeNewFaces() fail to add an edge
-----------------------+----------------------------------------------------
 Reporter:  aperi2007  |       Owner:  strk         
     Type:  defect     |      Status:  assigned     
 Priority:  medium     |   Milestone:  PostGIS 2.0.0
Component:  topology   |     Version:  trunk        
 Keywords:             |  
-----------------------+----------------------------------------------------

Comment(by strk):

 Here's a failure session:

 {{{
 DEBUG:  p1: POINT(-0.2 0.4)
 DEBUG:  p2: POINT(-2.77555756156289e-17 0.4)
 DEBUG:  bounds: LINESTRING(-2.77555756156289e-17 0.4,0.1 0.4,0.1 0.3,-0.1
 0.2,-0.1 0.1,-0.1 1.38777878078145e-16,0.2 -0.2,0.2 -0.4,-0.2 -0.4,-0.4
 -0.4,-0.4 0.4,-0.3 0.4,-0.2 0.4,-2.77555756156289e-17 0.4)
 DEBUG:  LocatePoint(bounds,p1): 0.93297950814779
 DEBUG:  LocatePoint(bounds,p2): 0
 DEBUG:  Edge 30 (left:0, right:0) - ring : {0} - right_side : f
 }}}

 Now it is interesting that the bounds have a different ordering !

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