@Override
    public Expression partialEvaluate(PartialInput input) {
      return input.types.isEmpty() || input.types.contains(GeometryType.UNKNOWN) ? this :
        partialEvaluateContains(input.types, switch (type) {
          case LINESTRING_TYPE -> GeometryType.LINE;
          case POLYGON_TYPE -> GeometryType.POLYGON;
          case POINT_TYPE -> GeometryType.POINT;
          default -> GeometryType.UNKNOWN;
        }, this);
    }
Evaluates to true if an input element has geometry type matching {@code type}.
planetiler-core/src/main/java/com/onthegomap/planetiler/expression/Expression.java