[postgis-tickets] r15814 - st_contains cannot handle curvepolygon / compoundcurve consisting of only straight lines (References #3781)

Paul Ramsey pramsey at cleverelephant.ca
Mon Sep 25 06:37:24 PDT 2017


Author: pramsey
Date: 2017-09-25 06:37:23 -0700 (Mon, 25 Sep 2017)
New Revision: 15814

Modified:
   trunk/liblwgeom/lwstroke.c
Log:
st_contains cannot handle curvepolygon / compoundcurve consisting of only straight lines (References #3781)


Modified: trunk/liblwgeom/lwstroke.c
===================================================================
--- trunk/liblwgeom/lwstroke.c	2017-09-24 17:32:24 UTC (rev 15813)
+++ trunk/liblwgeom/lwstroke.c	2017-09-25 13:37:23 UTC (rev 15814)
@@ -71,6 +71,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