Skip to content

v0.2.53..v0.2.54 changeset IntersectionSplitter.cpp

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/algorithms/splitter/IntersectionSplitter.cpp b/hoot-core/src/main/cpp/hoot/core/algorithms/splitter/IntersectionSplitter.cpp
index e7f55f6..c319621 100644
--- a/hoot-core/src/main/cpp/hoot/core/algorithms/splitter/IntersectionSplitter.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/algorithms/splitter/IntersectionSplitter.cpp
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2015, 2016, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2016, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 
 #include "IntersectionSplitter.h"
@@ -38,7 +38,7 @@
 #include <hoot/core/util/Log.h>
 #include <hoot/core/conflate/matching/NodeMatcher.h>
 #include <hoot/core/util/StringUtils.h>
-
+#include <hoot/core/conflate/matching/NodeMatcher.h>
 // Qt
 #include <QDebug>
 
@@ -273,4 +273,9 @@ void IntersectionSplitter::apply(std::shared_ptr<OsmMap> &map)
   splitIntersections(map);
 }
 
+QStringList IntersectionSplitter::getCriteria() const
+{
+  return NodeMatcher::getNetworkCriterionClassNames();
+}
+
 }
Clone this wiki locally