[postgis-devel] [PostGIS] #971: ST_AddIsoNode - containing_face value should be zero instead is NULL

PostGIS trac at osgeo.org
Sat May 21 12:48:24 PDT 2011


#971: ST_AddIsoNode - containing_face value should be zero instead is NULL
-----------------------+----------------------------------------------------
 Reporter:  aperi2007  |       Owner:  strk         
     Type:  defect     |      Status:  new          
 Priority:  medium     |   Milestone:  PostGIS 2.0.0
Component:  topology   |     Version:  trunk        
 Keywords:             |  
-----------------------+----------------------------------------------------
 Hi,

 starting from an empty topology.
 Adding an Isolated Node with the ST_AddIsoNode ,
 the "cointaining_face" field of Node table should be set to idface '0'
 (the UniverseFace) instead of NULL as now.

 This code is a test:

 {{{
 select topology.DropTopology('topo_test2');
 select topology.CreateTopology('topo_test2',3003);
 select
 topology.ST_AddIsoNode('topo_test2',NULL,ST_GeomFromEWKT('SRID=3003;POINT(1
 4)'));

 select containing_face from topo_test2.node;

 }}}

 The actual result is
 (null)

 it should be
 0

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