-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.49..v0.2.50 changeset ApiDbReader.cpp
Garret Voltz edited this page Nov 6, 2019
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/io/ApiDbReader.cpp b/hoot-core/src/main/cpp/hoot/core/io/ApiDbReader.cpp
index 036615c..c806d50 100644
--- a/hoot-core/src/main/cpp/hoot/core/io/ApiDbReader.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/io/ApiDbReader.cpp
@@ -33,7 +33,7 @@
#include <hoot/core/io/ApiDb.h>
#include <hoot/core/util/Log.h>
#include <hoot/core/util/StringUtils.h>
-#include <hoot/core/util/IoUtils.h>
+#include <hoot/core/io/IoUtils.h>
// tgs
#include <tgs/System/Time.h>
@@ -598,6 +598,9 @@ void ApiDbReader::initializePartial()
void ApiDbReader::read(const OsmMapPtr& map)
{
+ // Set the map source
+ map->appendSource(_url);
+
if (!_hasBounds())
{
LOG_DEBUG("Executing API read query...");