The survey of Scotland commissioned a military survey of the Highlands, and Watson was placed in charge, under the command of the
Duke of Cumberland, but it fell to Roy "to begin, and afterwards to have a considerable share in, the execution of that map", now known as ''The Duke of Cumberland's Map''. Roy was without any military rank at this time but Watson appointed him as an assistant to the quartermaster to provide him some seniority over the group of (typically) six soldiers who travelled with him: an NCO, two end markers, two chainmen and a batman. Eventually there were six teams conducting surveys by traverses of the country with the objects to the side of the line recorded by sketches and compass directions. The Highlands were covered by 1752, but the survey was extended to the lowlands for another three years, until 1755, when most of the engineer surveyors were posted to war stations. In the introduction to the 1885 account of the measurement of the Hounslow baseline Roy writes that the map remained "in an unfinished state ... and is to be considered as a magnificent military sketch rather than a very accurate map of a country ... (and) it would have been completed, and many of its imperfections no doubt remedied, but for the breaking out of war in 1755."
Military appointments Throughout the Survey of Scotland, Roy was a civilian assistant to David Watson the deputy quartermaster-general, but in 1755 the survey was terminated by the outbreak of the
Seven Years' War with France and the consequent redeployment of personnel to more pressing posts in both the regular army and the
Board of Ordnance. In the same year the engineers of the board were formed into the
Corps of Engineers. The board officers were members of both structures, for they would be deployed with the army regiments for specialist duties. In 1776 Roy was commissioned as a lieutenant in the
53rd Foot, a new regiment formed in 1755. At the same time he was appointed as a practitioner-engineer, the lowest rank in the Board of Ordnance survey department, and ensign in the Corps of Engineers. Thereafter Roy was promoted steadily, and rapidly, in both structures, but his army rank was always greater than his board rank. For example, he was lieutenant-colonel in the army by 1762 and director and lieutenant-colonel of the Engineers in 1783. He is best known by his army rank of major-general, which he attained in 1781. From 1786 to his death in 1790, Roy held the position of Colonel of the
30th (Cambridgeshire) Regiment of Foot.
Active service On the termination of the Scottish survey Roy, now under the jurisdiction of two military bodies, was posted in 1756 to the South of England where he was engaged, together with Watson and Dundas, in inspecting the readiness of coastal military installations in preparation for an expected French invasion. This work involved Roy in the production of plans of fortifications and rough maps of stretches of the south coast: examples are a sketch of the country from Gloucester to Pembroke, with Milford Haven and a sketch of the country betwixt Guildford and Canterbury. These sketches are preserved in the
British Library. By 1757 Roy was with his regiment in France for the Rochefort expedition and then in Germany for the
Battle of Minden in 1759. His technical abilities and willingness to innovate brought him to the favourable attention of his commanders. Preparatory to the battle, the various military engineers made drawings of each step of the coming battle, with each step drawn on a different sheet of paper. The commander could then study the course of the battle before it occurred, going from one sheet to the next. Lieutenant Roy, however, made his drawings on a single sheet with coordinated and accurate overlays, so that the commander could more easily study the course of the battle by examining a single sheet of paper. The commander's comprehension was greatly facilitated, and Roy's methodology was soon adopted as an advancement in military science. Sir
Joseph Banks, president of the
Royal Society, proposed that Roy should lead the project. Roy accepted with enthusiasm for he saw that apart from the specific measurements proposed the survey could be the first step towards the national survey that he had advocated so often. The whole project is described by Roy in three major contributions to the
Philosophical Transactions of the Royal Society in 1785, 1787 and 1790. There are shorter accounts of the project in the
History of the Royal Engineers, the records of the Royal Society and in every history of the Ordnance Survey. After a preliminary survey by Roy and three other members of the Society on 16 April, they found a suitable location for the starting
baseline on
Hounslow Heath, between King's Arbour and
Hampton Poor-house just over 5 miles to the south-east. A preliminary measurement of the line was carried out with a steel chain prepared by
Jesse Ramsden. It was the intention to measure more accurately with a set of three deal rods about 20 ft. in length but their use had to be abandoned because of their susceptibility to lengthen and shorten in wet weather. The deal rods were replaced by one-inch-thick glass tubes of the same length. The final measurement gives the length of the base as 27404.7 ft. to an accuracy of about 3 inches in 5 miles (or about 1/100,000). The precision of this baseline measurement far exceeded any previous attempts, and in recognition Roy was awarded the
Copley medal by the Royal Society in 1785. include Roy's work as the historical starting point for the modern profession. Perhaps his greatest legacy of all was the work of the
Ordnance Survey which commenced in 1791, one year after his death, by extending the basic
Anglo-French Survey (1784–1790) to the rest of Great Britain over the following sixty years. ==Roy as antiquary==