[postgis-devel] [PostGIS] #1998: Crash of topogeo_AddPolygon() with "ERROR: query string argument of EXECUTE is null"

PostGIS trac at osgeo.org
Fri Sep 14 05:29:20 PDT 2012


#1998: Crash of topogeo_AddPolygon() with "ERROR:  query string argument of
EXECUTE is null"
--------------------------------+-------------------------------------------
 Reporter:  wimned              |       Owner:  strk         
     Type:  defect              |      Status:  new          
 Priority:  medium              |   Milestone:  PostGIS 2.0.2
Component:  topology            |     Version:  trunk        
 Keywords:  topogeo_AddPolygon  |  
--------------------------------+-------------------------------------------

Comment(by strk):

 The topology is made invalid by cleanse_node:
 {{{
 =# select * from validatetopology('wimpy');
                error                | id1 | id2
 ------------------------------------+-----+-----
  edge crosses edge                  |   1 |   2
  edge start node geometry mis-match |   2 |   1
  edge end node geometry mis-match   |   2 |   1
 (3 rows)
 }}}

 Before the cleansing you have 3 edges and 2 nodes in a valid topology.

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