Skip to content

v0.2.51..v0.2.52 changeset OsmJsonReader.cpp

Garret Voltz edited this page Jan 15, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/io/OsmJsonReader.cpp b/hoot-core/src/main/cpp/hoot/core/io/OsmJsonReader.cpp
index be9ec73..14dee1f 100644
--- a/hoot-core/src/main/cpp/hoot/core/io/OsmJsonReader.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/io/OsmJsonReader.cpp
@@ -393,8 +393,10 @@ void OsmJsonReader::_parseOverpassJson()
 
   // The previous two final load steps correspond to effectively the same behavior that the XML
   // reader uses, except with that reader we simply don't add a missing ref in the first place b/c
-  // we're guaranteed element type ordering. Because of that, we know at the time a parent element
-  // is loaded any missing child refs mean the child itself is definitely absent from the input.
+  // we're guaranteed element type ordering (unless
+  // osm.map.reader.xml.add.child.refs.when.missing=true). Because of that, we know at the time a
+  // parent element is loaded any missing child refs mean the child itself is definitely absent
+  // from the input.
 }
 
 void OsmJsonReader::_updateRelationChildRefs(const ElementType& childElementType)
@@ -505,7 +507,7 @@ void OsmJsonReader::_updateChildRefs()
 {
   LOG_DEBUG("Updating child element ID references...");
 
-  // For any ways which added way nodes that weren't validated upon load, let's update those way
+  // For any ways in which added way nodes that weren't validated upon load, let's update those way
   // node id refs now with what we actually loaded.
   _updateWayChildRefs();
 
Clone this wiki locally