public LoopLineMerger setTolerance(double tolerance) {
    this.tolerance = tolerance;
    return this;
  }
Sets the tolerance for simplifying linestrings during processing. Lines are simplified between endpoints to avoid
breaking intersections.
<p>
{@code tolerance = 0} still removes collinear points, so you need to set {@code tolerance <= 0} to disable
simplification.
planetiler-core/src/main/java/com/onthegomap/planetiler/util/LoopLineMerger.java