Skip to content

v0.2.47..v0.2.48 changeset OsmXmlWriter.cpp

Garret Voltz edited this page Sep 27, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/io/OsmXmlWriter.cpp b/hoot-core/src/main/cpp/hoot/core/io/OsmXmlWriter.cpp
index 6a65119..2941a17 100644
--- a/hoot-core/src/main/cpp/hoot/core/io/OsmXmlWriter.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/io/OsmXmlWriter.cpp
@@ -147,11 +147,6 @@ void OsmXmlWriter::close()
   }
 }
 
-void OsmXmlWriter::setIncludeCompatibilityTags(bool includeCompatibility)
-{
-  _includeCompatibilityTags = includeCompatibility;
-}
-
 QString OsmXmlWriter::toString(const ConstOsmMapPtr& map, const bool formatXml)
 {
   OsmXmlWriter writer;
@@ -220,6 +215,7 @@ void OsmXmlWriter::write(const ConstOsmMapPtr& map)
   }
 
   //  Debug maps get a bunch of debug settings setup here
+  LOG_VARD(getIsDebugMap());
   if (getIsDebugMap())
     _overrideDebugSettings();
 
@@ -244,7 +240,7 @@ void OsmXmlWriter::write(const ConstOsmMapPtr& map)
     _writer->writeAttribute("schema", _osmSchema);
   }
 
-  //  Osmosis chokes on the bounds being written at the end of the file, do it first
+  //  Osmosis chokes on the bounds being written at the end of the file, so write it first
   const geos::geom::Envelope bounds = CalculateMapBoundsVisitor::getGeosBounds(map);
   _writeBounds(bounds);
 
@@ -255,7 +251,7 @@ void OsmXmlWriter::write(const ConstOsmMapPtr& map)
   close();
 }
 
-void OsmXmlWriter::_writeMetadata(const Element *e)
+void OsmXmlWriter::_writeMetadata(const Element* e)
 {
   if (_includeCompatibilityTags)
   {
Clone this wiki locally