This question already has an answer here:
What is the limit on what the holodeck can generate? From the episodes of Star Trek that I've seen, the holodeck is at least capable of generating a few city blocks. But can it do more, an entire city, a country, or even a whole world?
Does it also depend on the ship? For example the holodeck on Enterprise might be more powerful than the one on Voyager, and thus might be able to generate more of a scene.