[postgis-devel] [PostGIS] #780: Topology: adding a node over an edge could split the edge.

PostGIS trac at osgeo.org
Mon Jan 17 13:01:59 PST 2011


#780: Topology: adding a node over an edge could split the edge.
-----------------------+----------------------------------------------------
 Reporter:  aperi2007  |       Owner:  strk         
     Type:  defect     |      Status:  new          
 Priority:  medium     |   Milestone:  PostGIS 2.0.0
Component:  topology   |     Version:  trunk        
 Keywords:             |  
-----------------------+----------------------------------------------------
Changes (by aperi2007):

  * type:  enhancement => defect


Comment:

 This could be an error because the code try to raise an exception.

         -- Check if any edge crosses this node
         -- (endpoints are fine)
         --
         FOR rec IN EXECUTE 'SELECT edge_id FROM '
                 || quote_ident(atopology) || '.edge '
                 || 'WHERE ST_Crosses(' || quote_literal(apoint::text)
                 || ', geom)'
         LOOP
                 RAISE EXCEPTION
                 'An edge crosses the given node.';
         END LOOP;

 I don't know why this exception don't raise.
 however change from enhancement to defect the ticket.

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