Skip to content

v0.2.55..v0.2.56 changeset IoUtils.cpp

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/io/IoUtils.cpp b/hoot-core/src/main/cpp/hoot/core/io/IoUtils.cpp
index d6f7e5b..fa46c3f 100644
--- a/hoot-core/src/main/cpp/hoot/core/io/IoUtils.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/io/IoUtils.cpp
@@ -137,10 +137,11 @@ bool IoUtils::areSupportedOgrFormats(const QStringList& inputs, const bool allow
   return true;
 }
 
-// TODO: Roll this into OsmMapReaderFactory somehow?
 void IoUtils::loadMap(const OsmMapPtr& map, const QString& path, bool useFileId,
                       Status defaultStatus)
 {
+  // TODO: Roll this whole thing into OsmMapReaderFactory somehow and get rid of OgrReader portion?
+
   QStringList pathLayer = path.split(";");
   QString justPath = pathLayer[0];
   if (OgrReader::isReasonablePath(justPath))
@@ -215,7 +216,7 @@ void IoUtils::cropToBounds(OsmMapPtr& map, const geos::geom::Envelope& bounds,
   cropper.setInclusionCriterion(inclusionCrit);
 
   LOG_VARD(StringUtils::formatLargeNumber(map->getElementCount()));
-  LOG_INFO(cropper.getInitStatusMessage());
+  LOG_STATUS(cropper.getInitStatusMessage());
   cropper.apply(map);
   LOG_DEBUG(cropper.getCompletedStatusMessage());
   LOG_VARD(StringUtils::formatLargeNumber(map->getElementCount()));
Clone this wiki locally