Skip to content

v0.2.47..v0.2.48 changeset ApiDb.h

Garret Voltz edited this page Sep 27, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/io/ApiDb.h b/hoot-core/src/main/cpp/hoot/core/io/ApiDb.h
index 598b142..ed520d6 100644
--- a/hoot-core/src/main/cpp/hoot/core/io/ApiDb.h
+++ b/hoot-core/src/main/cpp/hoot/core/io/ApiDb.h
@@ -96,7 +96,7 @@ public:
   /**
    * This value should be updated after the DB is upgraded and all tests run successfully.
    */
-  static QString expectedHootDbVersion() { return "26:bobby.simic"; }
+  static QString expectedHootDbVersion() { return "28:bobby.simic"; }
   static int maximumChangeSetEdits() { return 50000; }
 
   static const Status DEFAULT_ELEMENT_STATUS;
@@ -437,6 +437,14 @@ public:
    */
   bool userExists(const QString& userName);
 
+  /**
+   * Returns IDs for all ways connected to ways with the input IDs
+   *
+   * @param wayIds IDs of ways to search
+   * @return a collection of connected way IDs
+   */
+  QSet<QString> selectConnectedWayIds(const QSet<QString>& wayIds);
+
 protected:
 
   //osm api db stores coords as integers and hoot api db as floating point
Clone this wiki locally