Skip to content

v0.2.49..v0.2.50 changeset GeoNamesReader.cpp

Garret Voltz edited this page Nov 6, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/io/GeoNamesReader.cpp b/hoot-core/src/main/cpp/hoot/core/io/GeoNamesReader.cpp
index 7522ca7..d8a6401 100644
--- a/hoot-core/src/main/cpp/hoot/core/io/GeoNamesReader.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/io/GeoNamesReader.cpp
@@ -27,9 +27,9 @@
 #include "GeoNamesReader.h"
 
 // hoot
+#include <hoot/core/elements/OsmMap.h>
 #include <hoot/core/util/Factory.h>
 #include <hoot/core/util/MapProjector.h>
-#include <hoot/core/elements/OsmMap.h>
 
 // qt
 #include <QDir>
@@ -101,6 +101,7 @@ bool GeoNamesReader::isSupported(const QString& url)
 
 void GeoNamesReader::open(const QString& url)
 {
+  OsmMapReader::open(url);
   _fp.close();
   _fp.setFileName(QDir().absoluteFilePath(url));
   _elementsRead = 0;
Clone this wiki locally