@Override
  public void processFeature(SourceFeature source, FeatureCollector features) {
    String layer = source.getSourceLayer();
    switch (layer) {
      case "building" -> features.polygon("building")
        .setMinZoom(13)
        .inheritAttrFromSource("height")
        .inheritAttrFromSource("roof_color");
      case null, default -> {
        // ignore for now
      }
    }
  }
Example basemap using <a href="https://overturemaps.org/">Overture Maps</a> data.
planetiler-examples/src/main/java/com/onthegomap/planetiler/examples/overture/OvertureBasemap.java