Hugh Berlin Loving, 61, who retired from the U.S. Geological Survey in 1976 as chief of the office of research and technical standards in the topographic division, died May 27 at his home in Fairfax after a heart attack.

Mr. Loving's field was photogrammetry, which uses photographs to make measurements, and its application to mapmaking. He joined the Survey in 1942 as a topographer and returned there after World War II service in the Army Air Forces. Except for the years 1957 to 1959, when he was an official of an engineering firm, he remained at the Survey until his retirement in 1976.

In the 1960s, he was a co-inventor of the ABC Survey System, a technique for mapping by means of ground-to-air measurements. In 1972, he received the Meritorious Service Medal of the Department of the Interior.

Mr. Loving was born in Hot Springs, Va., and attended Virginia Polytechnic Institute. In 1976, he was the national president of the American Society of Photogrammetry. Since leaving the government, he had been the society's assistant executive director and also had been a private consultant. He was a member of the American Congress of Surveying and Mapping.

He was a past president of the International Country Club in Fairfax.

Survivors include his wife, Geraldine of Fairfax; two children, Terry-Sue of Fairfax, and John Farnsworth of Chantilly, Va.; a sister, Elnora Fountaine of Staunton, Va., and three grandsons.