A method for the automated extraction of environmental variables to help the classification of rivers in Britain