Skip to content

v0.2.49..v0.2.50 changeset HootApiDbReader.h

Garret Voltz edited this page Nov 6, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/io/HootApiDbReader.h b/hoot-core/src/main/cpp/hoot/core/io/HootApiDbReader.h
index 059c46e..348a960 100644
--- a/hoot-core/src/main/cpp/hoot/core/io/HootApiDbReader.h
+++ b/hoot-core/src/main/cpp/hoot/core/io/HootApiDbReader.h
@@ -57,6 +57,8 @@ public:
 
   virtual void open(const QString& urlStr) override;
 
+  virtual void read(const OsmMapPtr &map) override;
+
 protected:
 
   virtual NodePtr _resultToNode(const QSqlQuery& resultIterator, OsmMap& map) override;
@@ -65,7 +67,7 @@ protected:
 
   virtual std::shared_ptr<ApiDb> _getDatabase() const override { return _database; }
 
-  virtual QString supportedFormats() { return "hootapidb://"; }
+  virtual QString supportedFormats() { return MetadataTags::HootApiDbScheme() + "://"; }
 
 private:
 
Clone this wiki locally