A city in a dream represents your feelings about community and about your relationships with other people.
Your interaction with other people during your city dream can provide you with information about how you interact with others and how you handle your relationships in real life.
If you do not get along with the other people in the city in your dream, or if those people ignore you completely, it can be a sign that you need to try harder to empathize with others.
A dream that you are in a deserted city can mean that you are feeling neglected.
If you are happy when you are in the deserted city in your dream, however, you may want to be left alone so you can enjoy some piece and quiet.