-
Notifications
You must be signed in to change notification settings - Fork 75
v0.2.53..v0.2.54 changeset Railway.js
Garret Voltz edited this page Mar 31, 2020
·
1 revision
diff --git a/rules/Railway.js b/rules/Railway.js
index ea18cfa..32bcab1 100644
--- a/rules/Railway.js
+++ b/rules/Railway.js
@@ -16,6 +16,7 @@ exports.candidateDistanceSigma = 1.0; // 1.0 * (CE95 + Worst CE95);
exports.matchThreshold = parseFloat(hoot.get("conflate.match.threshold.default"));
exports.missThreshold = parseFloat(hoot.get("conflate.miss.threshold.default"));
exports.reviewThreshold = parseFloat(hoot.get("conflate.review.threshold.default"));
+exports.matchCandidateCriterion = "hoot::RailwayCriterion";
var sublineMatcher =
new hoot.MaximalSublineStringMatcher(
@@ -23,19 +24,12 @@ var sublineMatcher =
"way.subline.matcher": hoot.get("railway.subline.matcher") });
var distanceScoreExtractor = new hoot.DistanceScoreExtractor();
-
// Use default spacing, 5 meters
var edgeDistanceExtractor = new hoot.EdgeDistanceExtractor();
-
-
var euclideanDistanceExtractor = new hoot.EuclideanDistanceExtractor();
-
var hausdorffDistanceExtractor = new hoot.HausdorffDistanceExtractor();
-
var weightedShapeDistanceExtractor = new hoot.WeightedShapeDistanceExtractor();
-
var parallelScoreExtractor = new hoot.ParallelScoreExtractor();
-
var lengthScoreExtractor = new hoot.LengthScoreExtractor();
/**