Skip to content

v0.2.53..v0.2.54 changeset PoiPolygonMatchVisitor.cpp

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/poi-polygon/PoiPolygonMatchVisitor.cpp b/hoot-core/src/main/cpp/hoot/core/visitors/poi-polygon/PoiPolygonMatchVisitor.cpp
index ac49811..5f5af3f 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/poi-polygon/PoiPolygonMatchVisitor.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/poi-polygon/PoiPolygonMatchVisitor.cpp
@@ -240,7 +240,7 @@ std::shared_ptr<Tgs::HilbertRTree>& PoiPolygonMatchVisitor::_getPolyIndex()
 {
   if (!_polyIndex)
   {
-    LOG_INFO("Creating POI/Polygon feature index...");
+    LOG_STATUS("Creating POI/Polygon feature index...");
 
     // TODO: tune this? - see #3054
     std::shared_ptr<Tgs::MemoryPageStore> mps(new Tgs::MemoryPageStore(728));
@@ -257,7 +257,9 @@ std::shared_ptr<Tgs::HilbertRTree>& PoiPolygonMatchVisitor::_getPolyIndex()
     _getMap()->visitRelationsRo(v);
     v.finalizeIndex();
 
-    LOG_DEBUG("POI/Polygon feature index created.");
+    LOG_STATUS(
+      "POI/Polygon feature index created with " << StringUtils::formatLargeNumber(v.getSize()) <<
+      " elements.");
   }
   return _polyIndex;
 }
Clone this wiki locally