[postgis-devel] [PostGIS] #2038: Exception of topogeo_AddLineString() of a line string with a part colinear with an existing one.

PostGIS trac at osgeo.org
Thu Oct 11 04:08:32 PDT 2012


#2038: Exception of topogeo_AddLineString() of a line string with a part colinear
with an existing one.
----------------------+-----------------------------------------------------
 Reporter:  wimned    |       Owner:  strk         
     Type:  defect    |      Status:  assigned     
 Priority:  medium    |   Milestone:  PostGIS 2.0.2
Component:  topology  |     Version:  trunk        
 Keywords:            |  
----------------------+-----------------------------------------------------

Comment(by strk):

 Simplest testcase, to put in regression testsuite:
 {{{
 SELECT CreateTopology('t2038');
 SELECT TopoGeo_addLineString('t2038', 'LINESTRING( 72.91981
 20.95009,72.91082 20.95759)');
 SELECT TopoGeo_addLineString('t2038', 'LINESTRING(72.9123215921439
 20.9563372813038,72.9122229474764 20.9564195766326, 72.9130010661966
 20.9562352183313,72.9123215921439 20.9563372813038)');
 }}}

 There's a single edge and two nodes after first addition, so edge2 comes
 out from splitting the second line, which is simple in itself.

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