[geos-commits] r3980 - branches/3.4/src/operation/polygonize
svn_geos at osgeo.org
svn_geos at osgeo.org
Sat Mar 29 03:44:53 PDT 2014
Author: strk
Date: 2014-03-29 03:44:53 -0700 (Sat, 29 Mar 2014)
New Revision: 3980
Modified:
branches/3.4/src/operation/polygonize/EdgeRing.cpp
Log:
Polygonizer: do not pretend all exceptions are due to edge invalidity
Modified: branches/3.4/src/operation/polygonize/EdgeRing.cpp
===================================================================
--- branches/3.4/src/operation/polygonize/EdgeRing.cpp 2014-03-29 10:44:29 UTC (rev 3979)
+++ branches/3.4/src/operation/polygonize/EdgeRing.cpp 2014-03-29 10:44:53 UTC (rev 3980)
@@ -27,6 +27,7 @@
#include <geos/geom/GeometryFactory.h>
#include <geos/geom/CoordinateSequenceFactory.h>
#include <geos/algorithm/CGAlgorithms.h>
+#include <geos/util/IllegalArgumentException.h>
#include <vector>
#include <cassert>
@@ -225,7 +226,7 @@
getCoordinates();
try {
ring=factory->createLinearRing(*ringPts);
- } catch (const std::exception& e) {
+ } catch (const geos::util::IllegalArgumentException& e) {
#if GEOS_DEBUG
// FIXME: print also ringPts
std::cerr << "EdgeRing::getRingInternal: "
More information about the geos-commits
mailing list