static MatchType matchType(String type) {
    if (!supportedTypes.contains(type)) {
      throw new IllegalArgumentException("Unsupported type: " + type);
    }
    return new MatchType(type);
  }
Returns an expression that evaluates to true if the geometry of an element matches {@code type}.
<p>
Allowed values:
<ul>
<li>"linestring"</li>
<li>"point"</li>
<li>"polygon"</li>
</ul>
planetiler-core/src/main/java/com/onthegomap/planetiler/expression/Expression.java