We consider the geometric problem of determining the maximum number \(n_q(r,h,f;s)\) of \((h-1)\) -spaces in the projective space \(\textrm{PG}(r-1,q)\) such that each subspace of codimension f contains at most s elements. In terms of coding theory, this corresponds to additive codes with a large fth generalized Hamming weight. We also consider the dual problem. Here, we determine the minimum number \(b_q(r,h,f;s)\) of \((h-1)\) -spaces in \(\textrm{PG}(r-1,q)\) such that each subspace of codimension f contains at least s elements. We fully determine \(b_2(5,2,2;s)\) as a function of s. We additionally give bounds and constructions for other parameters. For the computational result we partially use extensive integer linear programming computations.