Skip to content

v0.2.53..v0.2.54 changeset PolygonCriterion.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/PolygonCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/PolygonCriterion.h
index 834fe6e..3c514ee 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/PolygonCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/PolygonCriterion.h
@@ -22,14 +22,14 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 
 #ifndef POLYGON_CRITERION_H
 #define POLYGON_CRITERION_H
 
 // Hoot
-#include <hoot/core/criterion/GeometryTypeCriterion.h>
+#include <hoot/core/criterion/ConflatableElementCriterion.h>
 
 namespace hoot
 {
@@ -37,7 +37,7 @@ namespace hoot
 /**
  * Identifies polygon features
  */
-class PolygonCriterion : public GeometryTypeCriterion
+class PolygonCriterion : public ConflatableElementCriterion
 {
 public:
   static std::string className() { return "hoot::PolygonCriterion"; }
@@ -55,6 +55,8 @@ public:
 
   virtual QString toString() const override
   { return QString::fromStdString(className()).remove("hoot::"); }
+
+  virtual bool supportsSpecificConflation() const { return false; }
 };
 
 }
Clone this wiki locally