[geos-commits] r3756 - in branches/3.3: . src/operation/valid

svn_geos at osgeo.org svn_geos at osgeo.org
Fri Jan 25 09:26:13 PST 2013


Author: strk
Date: 2013-01-25 09:26:12 -0800 (Fri, 25 Jan 2013)
New Revision: 3756

Modified:
   branches/3.3/NEWS
   branches/3.3/src/operation/valid/IsValidOp.cpp
Log:
IsValidOp: throw proper error on nested shells (#608)

Thanks geomworx

Modified: branches/3.3/NEWS
===================================================================
--- branches/3.3/NEWS	2013-01-25 17:19:01 UTC (rev 3755)
+++ branches/3.3/NEWS	2013-01-25 17:26:12 UTC (rev 3756)
@@ -1,3 +1,9 @@
+Changes in 3.3.8
+2013-MM-DD
+
+- Bug fixes / improvements
+    - IsValidOp: throw proper error on nested shells (#608)
+
 Changes in 3.3.7
 2013-01-22 
 

Modified: branches/3.3/src/operation/valid/IsValidOp.cpp
===================================================================
--- branches/3.3/src/operation/valid/IsValidOp.cpp	2013-01-25 17:19:01 UTC (rev 3755)
+++ branches/3.3/src/operation/valid/IsValidOp.cpp	2013-01-25 17:26:12 UTC (rev 3756)
@@ -528,7 +528,7 @@
 	int nholes = p->getNumInteriorRing();
 	if (nholes<=0) {
 		validErr=new TopologyValidationError(
-			TopologyValidationError::eNestedHoles,
+			TopologyValidationError::eNestedShells,
 			*shellPt);
 		return;
 	}



More information about the geos-commits mailing list