Skip to content

v0.2.47..v0.2.48 changeset AreaCriterion.h

Garret Voltz edited this page Sep 27, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/AreaCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/AreaCriterion.h
index 02acc09..0e73df3 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/AreaCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/AreaCriterion.h
@@ -48,6 +48,9 @@ public:
 
   bool isSatisfied(const Tags& tags, const ElementType& elementType) const;
 
+  virtual ConflatableGeometryType getGeometryType() const
+  { return ConflatableGeometryType::Polygon; }
+
   virtual ElementCriterionPtr clone() { return ElementCriterionPtr(new AreaCriterion()); }
 
   virtual QString getDescription() const { return "Identifies areas"; }
Clone this wiki locally