At one time, there were perhaps 300,000 graves dug - some more than once - for each of the deceased residents in San Francisco before the year 1900. This was when the Board of Supervisors voted to stop all burials in The City and County of San Francisco, California. The exact number of the interred citizens within The City boundaries is hard to figure because most of the records were destroyed in the fires that resulted from the Great Earthquake of April 18, 1906.
Today, there are only two cemeteries and a Columbarium inside The City limits. One cemetery is located at the Mission Dolores Church at 16'th and Dolores Streets. The other is The San Francisco National Cemetery/The Presidio, at the Old Presidio Army Base, which is now part of the National Park Service and the Golden Gate National Recreation Area. It is legally a seperate entity from San Francisco proper, but, from the earliest days it has always been considered a real part of The City.
(Thank you to www.sanfranciscocemeteries.com from which I lifted this text directly)