Route selection for opportunity-sensing and prediction of waterlogging