public LoopLineMerger setLoopMinLength(double loopMinLength) {
    this.loopMinLength = loopMinLength;
    return this;
  }
Sets the minimum loop length for breaking loops in the merged geometry.
<p>
Loops that are shorter than loopMinLength are broken up so that only the shortest path between loop endpoints
remains. This should be {@code >= minLength}. {@code loopMinLength <= 0} disables loop removal.
planetiler-core/src/main/java/com/onthegomap/planetiler/util/LoopLineMerger.java