Commit a8e98685 authored by Luna Riegel's avatar Luna Riegel
Browse files

Fix: Use search radius for pre-filtering

parent 71e6fba4
......@@ -121,7 +121,7 @@ public class MisalignedUtilityConnectionCheck extends Check {
}
private void checkUtilityLinesConnections(CityObject subject){
Collection<CityObject> candidates = cache.getCandidates(subject, epsilon);
Collection<CityObject> candidates = cache.getCandidates(subject, searchRadius);
if (candidates.isEmpty()) {
FloatingUtilityError err = new FloatingUtilityError(subject, subject.getHighestLodGeometry());
subject.addCheckResult(new CheckResult(this, ResultStatus.ERROR, err));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment