Measurement structures and linear inequalities