Skip to content

v0.2.47..v0.2.48 changeset ConflatableElementCriterion.h

Garret Voltz edited this page Sep 27, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/ConflatableElementCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/ConflatableElementCriterion.h
index 829a718..3008c53 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/ConflatableElementCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/ConflatableElementCriterion.h
@@ -42,10 +42,19 @@ class ConflatableElementCriterion : public ElementCriterion
 {
 public:
 
+  enum ConflatableGeometryType
+  {
+    Point = 0,
+    Line,
+    Polygon
+  };
+
   static std::string className() { return "hoot::ConflatableElementCriterion"; }
 
   virtual ~ConflatableElementCriterion() {}
 
+  virtual ConflatableGeometryType getGeometryType() const = 0;
+
   /**
    * Determines which criteria consider an element as conflatable
    *
Clone this wiki locally