[geos-commits] r3755 - trunk/src/operation/valid

svn_geos at osgeo.org svn_geos at osgeo.org
Fri Jan 25 09:19:02 PST 2013


Author: strk
Date: 2013-01-25 09:19:01 -0800 (Fri, 25 Jan 2013)
New Revision: 3755

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

Thanks geomworx

Modified: trunk/src/operation/valid/IsValidOp.cpp
===================================================================
--- trunk/src/operation/valid/IsValidOp.cpp	2013-01-22 18:43:46 UTC (rev 3754)
+++ trunk/src/operation/valid/IsValidOp.cpp	2013-01-25 17:19:01 UTC (rev 3755)
@@ -527,7 +527,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