Skip to content

v0.2.47..v0.2.48 changeset BuildingCriterion.h

Garret Voltz edited this page Sep 27, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/BuildingCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/BuildingCriterion.h
index 561cb43..90e2b07 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/BuildingCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/BuildingCriterion.h
@@ -53,6 +53,9 @@ public:
 
   bool isSatisfied(const Tags& tags, const ElementType& elementType) const;
 
+  virtual ConflatableGeometryType getGeometryType() const
+  { return ConflatableGeometryType::Polygon; }
+
   virtual void setOsmMap(const OsmMap* map) { _map = map->shared_from_this(); }
 
   virtual ElementCriterionPtr clone() { return ElementCriterionPtr(new BuildingCriterion(_map)); }
Clone this wiki locally