[postgis-devel] [PostGIS] #965: ST_AddIsoNode allows adding non-isolated nodes (nodes with containing_face=null)

PostGIS trac at osgeo.org
Fri May 20 01:54:07 PDT 2011


#965: ST_AddIsoNode allows adding non-isolated nodes (nodes with
containing_face=null)
----------------------+-----------------------------------------------------
 Reporter:  strk      |       Owner:  strk         
     Type:  defect    |      Status:  new          
 Priority:  medium    |   Milestone:  PostGIS 2.0.0
Component:  topology  |     Version:  trunk        
 Keywords:            |  
----------------------+-----------------------------------------------------
 According to SQL/MM, the ST_AddIsoNode function allows passing 'null' as
 the "containing face". This is allowed specifically for the case in which
 an isolated node is not inside a face.

 Now, since the same document also refers to an "universal face", which has
 (again, in the spec) a special face identifier 0, I guess that's the value
 we should write in "containing_face" field of the node table, to
 distinguish the node from a non-isolated one.

 This would be pretty much equivalent to forbid passin 'null' and allow
 passing '0', but the specs are confusing on the matter.

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