Skip to content

v0.2.47..v0.2.48 changeset HighwayCriterion.h

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