[postgis-tickets] [PostGIS] #3261: ST_ExteriorRing ERROR when NULL documented
PostGIS
trac at osgeo.org
Mon Aug 24 04:36:50 PDT 2015
#3261: ST_ExteriorRing ERROR when NULL documented
---------------------+---------------------------
Reporter: lijat | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.1.9
Component: postgis | Version: 2.1.x
Keywords: |
---------------------+---------------------------
The following query returns an error and not null as the documentation
indicates
select ST_ExteriorRing(ST_Point(1,2));
ERROR: ExteriorRing: geom is not a polygon
---
SELECT PostGIS_full_version();
POSTGIS="2.1.4 r12966" GEOS="3.4.2-CAPI-1.8.2 r3921" PROJ="Rel. 4.8.0, 6
March 2012" GDAL="GDAL 1.10.1, released 2013/08/26" LIBXML="2.9.1"
LIBJSON="UNKNOWN" RASTER
---
the documentation here http://postgis.net/docs/ST_ExteriorRing.html states
that
"Return NULL if the geometry is not a polygon."
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/3261>
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