Modeling environmental condition with indices: a case study of sustainability and soil resources