[postgis-devel] [PostGIS] #973: ST_GetFaceGeometry - don't intercept the UniverseFace
PostGIS
trac at osgeo.org
Mon May 23 14:29:23 PDT 2011
#973: ST_GetFaceGeometry - don't intercept the UniverseFace
-----------------------+----------------------------------------------------
Reporter: aperi2007 | Owner: strk
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.0
Component: topology | Version: trunk
Keywords: |
-----------------------+----------------------------------------------------
Comment(by aperi2007):
Hi,
I would report that the ST_GetFaceGeometry actually don't intercept the
case of Universe face so calling the ST_GetFaceGeometry
topology.ST_GetFaceGeometry('topo_name', 0);
with the UniverseFace will raise an error in other part of code because it
return a record with NULL value.
It should be add a check for tha case "aface=0" the give the right
exception.
If Ok , I could produce a patch for this.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/973#comment:2>
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