Skip to content

v0.2.47..v0.2.48 changeset PowerLineCriterion.h

Garret Voltz edited this page Sep 27, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/PowerLineCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/PowerLineCriterion.h
index 2db3494..a6f2ea6 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/PowerLineCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/PowerLineCriterion.h
@@ -45,6 +45,9 @@ public:
 
   virtual bool isSatisfied(const ConstElementPtr& e) const override;
 
+  virtual ConflatableGeometryType getGeometryType() const
+  { return ConflatableGeometryType::Line; }
+
   virtual ElementCriterionPtr clone() { return ElementCriterionPtr(new PowerLineCriterion()); }
 
   virtual QString getDescription() const { return "Identifies power line utilities"; }
Clone this wiki locally