diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/OneWayCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/OneWayCriterion.h
index 28b5fc8..646c1f6 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/OneWayCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/OneWayCriterion.h
@@ -29,7 +29,7 @@
#define ONEWAYCRITERION_H
// hoot
-#include <hoot/core/criterion/ElementCriterion.h>
+#include <hoot/core/criterion/GeometryTypeCriterion.h>
namespace hoot
{
@@ -37,7 +37,7 @@ namespace hoot
/**
* Identifies one-way streets
*/
-class OneWayCriterion : public ElementCriterion
+class OneWayCriterion : public GeometryTypeCriterion
{
public:
@@ -51,6 +51,13 @@ public:
virtual QString getDescription() const { return "Identifies one way streets"; }
+ virtual GeometryType getGeometryType() const
+ { return GeometryType::Line; }
+
+ virtual QString toString() const override
+ { return QString::fromStdString(className()).remove("hoot::"); }
+
+
private:
bool _isOneWay;