[postgis-tickets] [PostGIS] #3221: ST_GetFaceGeometry returns NULL for faces with no boundaries
PostGIS
trac at osgeo.org
Fri Jul 31 01:42:10 PDT 2015
#3221: ST_GetFaceGeometry returns NULL for faces with no boundaries
----------------------+---------------------------
Reporter: strk | Owner: strk
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.2.0
Component: topology | Version: 2.1.x
Keywords: |
----------------------+---------------------------
If you ask for a face having no bounds to ST_GetFaceGeometry, you get a
NULL back. I'm not sure this is a sane behaviour.
Strictly speaking, a face with no boundaries would be a topological
invalidity, so you should maybe get an exception thrown.
Or, if we want to be "tolerant", we could return a POLYGON EMPTY.
What do you think, Regina ?
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3221>
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-tickets
mailing list