Hey, quick question: should I found mahy cities near things like iron, coal and such or is the added cost of a city too big?

I've been wondering for a while, because i often get some resources just outside the 3 tiles range.