@Override
    public boolean evaluate(WithTags input, List<String> matchKeys) {
      if (input instanceof WithGeometryType withGeom) {
        return switch (type) {
          case LINESTRING_TYPE -> withGeom.canBeLine();
          case POLYGON_TYPE -> withGeom.canBePolygon();
          case POINT_TYPE -> withGeom.isPoint();
          default -> false;
        };
      } else {
        return false;
      }
    }
Evaluates to true if an input element has geometry type matching {@code type}.
planetiler-core/src/main/java/com/onthegomap/planetiler/expression/Expression.java