[postgis-tickets] r15815 - Not-quite curved CurvePolygon rejected by ST_Contains (Closes #3781)

Paul Ramsey pramsey at cleverelephant.ca
Mon Sep 25 06:39:20 PDT 2017


Author: pramsey
Date: 2017-09-25 06:39:20 -0700 (Mon, 25 Sep 2017)
New Revision: 15815

Modified:
   branches/2.3/NEWS
   branches/2.3/liblwgeom/lwstroke.c
Log:
Not-quite curved CurvePolygon rejected by ST_Contains (Closes #3781)


Modified: branches/2.3/NEWS
===================================================================
--- branches/2.3/NEWS	2017-09-25 13:37:23 UTC (rev 15814)
+++ branches/2.3/NEWS	2017-09-25 13:39:20 UTC (rev 15815)
@@ -20,6 +20,7 @@
   - #3731, Crash on very small table of homogenous data
   - #2836, Receiving ERROR: ExteriorRing: geom is
            not a polygon with ST_ConcaveHull
+  - #3781, Not-quite curved CurvePolygon rejected by ST_Contains
 
 
 PostGIS 2.3.3

Modified: branches/2.3/liblwgeom/lwstroke.c
===================================================================
--- branches/2.3/liblwgeom/lwstroke.c	2017-09-25 13:37:23 UTC (rev 15814)
+++ branches/2.3/liblwgeom/lwstroke.c	2017-09-25 13:39:20 UTC (rev 15815)
@@ -72,6 +72,8 @@
 	case TINTYPE:
 		return LW_FALSE;
 	case CIRCSTRINGTYPE:
+	case CURVEPOLYTYPE:
+	case COMPOUNDTYPE:
 		return LW_TRUE;
 	/* It's a collection that MAY contain an arc */
 	default:



More information about the postgis-tickets mailing list