The word 'ordnance' refers to things to do with the military equipment such as large guns and artillery. The ordnance department in an army would be responsible for the supply and maintenance of artillery.
Soldiers were often involved in map making for armies because good maps were required for invasion purposes and also for the governing of a country.