public static Geometry fixPolygon(Geometry geom, double buffer) throws GeometryException {
    try {
      return geom.buffer(buffer).buffer(-buffer);
    } catch (TopologyException e) {
      throw new GeometryException("fix_polygon_buffer_topology_error", "robustness error fixing polygon: " + e);
    }
  }
More aggressive fix for self-intersections than {@link #fixPolygon(Geometry)} that expands then contracts the shape
by {@code buffer}.

@throws GeometryException if a robustness error occurred
planetiler-core/src/main/java/com/onthegomap/planetiler/geo/GeoUtils.java