Skip to content

v0.2.47..v0.2.48 changeset RailwayCriterion.h

Garret Voltz edited this page Sep 27, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/RailwayCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/RailwayCriterion.h
index 1501f11..748fe2b 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/RailwayCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/RailwayCriterion.h
@@ -47,6 +47,9 @@ public:
 
   virtual bool isSatisfied(const ConstElementPtr& e) const override;
 
+  virtual ConflatableGeometryType getGeometryType() const
+  { return ConflatableGeometryType::Line; }
+
   virtual ElementCriterionPtr clone()
   { return ElementCriterionPtr(new RailwayCriterion()); }
 
Clone this wiki locally