You do realize just how tiny SF really is, don't you? It is only ~49 square miles. Take out land that is parks, schools, public services, roads, parking lots, retail, offices, not suitable for building, etc. - doesn't leave lots of land available for housing.
reply