A city is a really complex topic, so an optimal and effective city planning requires a thorough understanding of the city's functional complexities. It is nearly impossible to give a general definition of a city because a number of factors are responsible for this. So in this paper, an analysis of the methodical difficulties of providing a general definition for a city in the context of its importance to urban planning will be given. The first conclusion is that a city can be organized by basic functions, like living, working, education, mobility etc., which will help determine the pertinent problem areas for Marrakesh, the focal point of this study. After examining the 'feel' of Morocco with especial emphasis on the city of Marrakesh to cultivate a more useful understanding of the place, the problem areas will be described and in relation to the Medina, a specific part of the city, will be pulled out and its specific problems analysed. The final assessment serves as a basis for issuing spatial planning guidelines for future development.