public static int minZoomForPixelSize(double worldGeometrySize, double minPixelSize) {
    double worldPixels = worldGeometrySize * 256;
    return Math.clamp((int) Math.ceil(Math.log(minPixelSize / worldPixels) / LOG2), 0,
      PlanetilerConfig.MAX_MAXZOOM);
  }
For a feature of size {@code worldGeometrySize} (where 1=full planet), determine the minimum zoom level at which
the feature appears at least {@code minPixelSize} pixels large.
<p>
The result will be clamped to the range [0, {@link PlanetilerConfig#MAX_MAXZOOM}].
planetiler-core/src/main/java/com/onthegomap/planetiler/geo/GeoUtils.java