Clement Leinster Garner, 94, a retired captain in the Commerce Department's old Coast and Geodetic Survey here, died Thursday at Fairfax Hospital in Falls Church. He has a heart ailment.

Capt. Garner joined the survey (now a part of the National Oceanic and Atmospheric Administration) in 1907.From 1923 to 1927, he commanded the survey ship "Discoverer," and then headed the survey's New York station. He became assistant chief of the geodesy division in 1929 and was appointed chief in 1937, a position he held until retiring in 1945.

Following his retirement, Capt, Garner occasionally returned to active duty to represent the survey at meetings with representatives from South American countries interested in surveying and mapping.

He was born in Newport, N.C., and earned a bachelor's degree in civil engineering from North Carolina State University in 1907. In 1940, he received an honorary doctorate in engineering from the university.

An area resident since 1929, he had lived at the Leewood Nursing Home in Annandale for about two years. His wife, Mary Clark Garner, whom he married in 1913, died in 1977.

Capt. Carner's memberships included the American Society of Civil Engineers, the Washington Society of Engineers, the Washington Academy of Sciences, the Society of American Military Engineers and the Cosmos Club.

Capt. Garner was a 32nd degree Mason and a member of the Scottish Rite, the Shrine, Anchor Masonic Club, Sojourners and the Heroes of '76, a patriotic organization.

Survivors include two daughters, Mary Frances Wantz, of Cincinnati, Ohio, and Alice Elizabeth Upchurch, of Springfield, Va., three grand-daughters and two great-grandchildren.