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

PostGIS trac at osgeo.org
Mon Jan 17 12:56:43 PST 2011


#780: Topology: adding a node over an edge could split the edge.
-------------------------+--------------------------------------------------
 Reporter:  aperi2007    |       Owner:  strk         
     Type:  enhancement  |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 2.0.0
Component:  topology     |     Version:  trunk        
 Keywords:               |  
-------------------------+--------------------------------------------------
 I noitce that adding a new node over a vertex of a pre-existent edge seem
 don't split it.

 select
 topology.AddEdge('schema_topo',ST_GeomFromEWKT('SRID=3003;LINESTRING(4 4,
 5 5, 6 6)'));
 select topology.AddNode('schema_topo',ST_GeomFromEWKT('SRID=3003;POINT(5
 5)'));

 I think
 starting from
 EDGE(4 4,5 5,6 6)
 and adding a node in 5 5 it could split the edge in
 edge(4 4, 5 5) + edge (5 5, 6 6)

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