-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.54..v0.2.55 changeset OsmSchema.h
Garret Voltz edited this page Aug 14, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/schema/OsmSchema.h b/hoot-core/src/main/cpp/hoot/core/schema/OsmSchema.h
index b7b95f4..2c1eced 100644
--- a/hoot-core/src/main/cpp/hoot/core/schema/OsmSchema.h
+++ b/hoot-core/src/main/cpp/hoot/core/schema/OsmSchema.h
@@ -483,6 +483,15 @@ public:
bool hasMoreThanOneType(const Tags& tags);
/**
+ * Returns the most specific type in a set of tags according to the schema
+ *
+ * @param tags the tags to search
+ * @return a single key/value pair string
+ * @todo handle multiple types without inheritance
+ */
+ QString mostSpecificType(const Tags& tags);
+
+ /**
* Scores the type similarity between two sets of tags
*
* @param tags1 the first set of tags to score