Ferreyra, Joaquim José, active 1773-1822, captain of Engineers