[postgis-devel] [PostGIS] #1543: ST_GetFaceGeometry exception on partial face boundary, null on unexistent face

PostGIS trac at osgeo.org
Mon Feb 6 03:12:57 PST 2012


#1543: ST_GetFaceGeometry exception on partial face boundary, null on unexistent
face
----------------------+-----------------------------------------------------
 Reporter:  strk      |       Owner:  strk         
     Type:  defect    |      Status:  new          
 Priority:  medium    |   Milestone:  PostGIS 2.0.0
Component:  topology  |     Version:  trunk        
 Keywords:            |  
----------------------+-----------------------------------------------------
 The SQL/MM document says that an exception should be raised IF the face
 argument references an unknown face. Doesn't say anything about faces
 bound by no ring (would be due to invalid topology).

 The current implementation results in an exception in the latter case (no
 ring) but not in the former (unknown face).

 In turn this doesn't help validating a topology in that the exception on
 invalid topology makes the whole validateTopology function bail out.

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