v0.2.48..v0.2.49 changeset PoiPolygonMatchCreator.cpp
Garret Voltz edited this page Oct 2, 2019
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/conflate/poi-polygon/PoiPolygonMatchCreator.cpp b/hoot-core/src/main/cpp/hoot/core/conflate/poi-polygon/PoiPolygonMatchCreator.cpp
index 59a95f1..e5233d8 100644
--- a/hoot-core/src/main/cpp/hoot/core/conflate/poi-polygon/PoiPolygonMatchCreator.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/conflate/poi-polygon/PoiPolygonMatchCreator.cpp
@@ -146,13 +146,9 @@ bool PoiPolygonMatchCreator::isMatchCandidate(ConstElementPtr element,
std::shared_ptr<MatchThreshold> PoiPolygonMatchCreator::getMatchThreshold()
{
+ // Since the POI to Poly matcher is an additive model, all thresholds are 1.0
if (!_matchThreshold.get())
- {
- ConfigOptions config;
- _matchThreshold.reset(
- new MatchThreshold(config.getPoiPolygonMatchThreshold(), config.getPoiPolygonMissThreshold(),
- config.getPoiPolygonReviewThreshold()));
- }
+ _matchThreshold.reset(new MatchThreshold(1.0, 1.0, 1.0));
return _matchThreshold;
}