public CoveredTiles getCoveredTiles() {
    RoaringBitmap bitmap = new RoaringBitmap();
    for (TileCoord coord : tileContents.keySet()) {
      bitmap.add(maxTilesAtThisZoom * coord.x() + coord.y());
    }
    if (filledRanges != null) {
      for (var entry : filledRanges.entrySet()) {
        long colStart = (long) entry.getKey() * maxTilesAtThisZoom;
        var yRanges = entry.getValue();
        bitmap.or(RoaringBitmap.addOffset(yRanges.bitmap(), colStart));
      }
    }
    return new CoveredTiles(bitmap, z);
  }
Returns the tiles touched by this geometry.
planetiler-core/src/main/java/com/onthegomap/planetiler/render/TiledGeometry.java