public static Type from(String id) {
      for (Type value : values()) {
        if (value.id.equalsIgnoreCase(id.trim())) {
          return value;
        }
      }
      throw new IllegalArgumentException("Unexpected long long map type: " + id);
    }
Returns the type associated with {@code id} or throws {@link IllegalArgumentException} if no match is found.
planetiler-core/src/main/java/com/onthegomap/planetiler/collection/LongLongMap.java