static MatchType matchGeometryType(GeometryType type) {
    return new MatchType(switch (type) {
      case POINT -> POINT_TYPE;
      case LINE -> LINESTRING_TYPE;
      case POLYGON -> POLYGON_TYPE;
      case null, default -> throw new IllegalArgumentException("Unsupported type: " + type);
    });
  }
Returns an expression that evaluates to true if the geometry of an element matches {@code type}.
planetiler-core/src/main/java/com/onthegomap/planetiler/expression/Expression.java