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

PostGIS trac at osgeo.org
Thu Nov 22 14:02:44 PST 2012


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

Comment(by strk):

 Further simplification:
 {{{
 SELECT CreateTopology('t1998');
 SELECT ST_AddIsoNode('t1998', 0, 'POINT(1 1)');
 SELECT ST_AddIsoNode('t1998', 0, 'POINT(0 0)');
 SELECT ST_AddEdgeModFace('t1998', 1, 1, 'LINESTRING(1 1,1 2,2 2,2 1,1
 1)');
 SELECT ST_AddEdgeModFace('t1998', 2, 1, 'LINESTRING(0 0,0 1,1 1)');
 SELECT ST_AddEdgeModFace('t1998', 1, 2, 'LINESTRING(1 1,1 0,0 0)');
 SELECT 'V1', ValidateTopology('t1998'); -- ok
 SELECT ST_ModEdgeHeal('t1998', 2, 3);
 SELECT 'V2', ValidateTopology('t1998'); -- mess
 }}}

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