@Test
  void testMultiPolygonWithNestedHoles() throws GeometryException {
    testBuildMultipolygon(
      List.of(
        rectangleNodes(0, 10),
        rectangleNodes(1, 9),
        rectangleNodes(2, 8),
        rectangleNodes(3, 7),
        rectangleNodes(4, 6)
      ),
      newMultiPolygon(
        newPolygon(
          rectangleCoordList(0, 10),
          List.of(
            rectangleCoordList(1, 9)
          )
        ),
        newPolygon(
          rectangleCoordList(2, 8),
          List.of(
            rectangleCoordList(3, 7)
          )
        ),
        rectangle(4, 6)
      )
    );
  }
This class is ported to Java from https://github.com/omniscale/imposm3/blob/master/geom/multipolygon_test.go
planetiler-core/src/test/java/com/onthegomap/planetiler/reader/osm/OsmMultipolygonTest.java