They both sort of fit, but NIMBYism in SF hampers its development more than Seattle. Seattle appears more functional to me. (No city is perfect; for each one I mentioned I could list a number of problems, except maybe Amsterdam which I know rather poorly.)
Out of curiosity, what makes Seattle fit this description and not SF?