@Override
    public void close() throws IOException {
      writer.close();
    }
An output segment that can be sorted with a fixed amount of RAM.
planetiler-core/src/main/java/com/onthegomap/planetiler/collection/ExternalMergeSort.java