docs: public static int dimensionality(Relation<? extends SpatialComparable> relation) {
      final SimpleTypeInformation<? extends SpatialComparable> type = relation.getDataTypeInformation();
      if(type instanceof FieldTypeInformation) {
        return ((FieldTypeInformation) type).getDimensionality();
      }
      return -1;
    }