public static Geometry snapAndFixPolygon(Geometry geom, Stats stats, String stage) throws GeometryException {
    return snapAndFixPolygon(geom, TILE_PRECISION, stats, stage);
  }
Returns a copy of {@code geom} with coordinates rounded to {@link #TILE_PRECISION} and fixes any polygon
self-intersections or overlaps that may have caused.
planetiler-core/src/main/java/com/onthegomap/planetiler/geo/GeoUtils.java