Skip to content

v0.2.53..v0.2.54 changeset PointCriterion.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/PointCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/PointCriterion.h
index 818f208..d02777a 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/PointCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/PointCriterion.h
@@ -29,7 +29,7 @@
 #define POINT_CRITERION_H
 
 // Hoot
-#include <hoot/core/criterion/GeometryTypeCriterion.h>
+#include <hoot/core/criterion/ConflatableElementCriterion.h>
 #include <hoot/core/elements/ConstOsmMapConsumer.h>
 #include <hoot/core/elements/OsmMap.h>
 #include <hoot/core/criterion/WayNodeCriterion.h>
@@ -40,7 +40,7 @@ namespace hoot
 /**
  * Identifies point features
  */
-class PointCriterion : public GeometryTypeCriterion, public ConstOsmMapConsumer
+class PointCriterion : public ConflatableElementCriterion, public ConstOsmMapConsumer
 {
 public:
 
@@ -63,6 +63,8 @@ public:
   virtual QString toString() const override
   { return QString::fromStdString(className()).remove("hoot::"); }
 
+  virtual bool supportsSpecificConflation() const { return false; }
+
 private:
 
   ConstOsmMapPtr _map;
Clone this wiki locally