Hostname: page-component-74656f9884-skzmx Total loading time: 0 Render date: 2026-11-06T02:06:53.197Z Has data issue: false hasContentIssue false

Unveiling the structure of the Marrakech Medina: A shape grammar and an interpreter for generating urban form

Published online by Cambridge University Press:  19 September 2007

José P. Duarte
Affiliation:
ICIST, Instituto Superior Técnico, Technical University of Lisbon, Lisbon, Portugal
João M. Rocha
Affiliation:
CHAIA, Universidade de Évora, Évora, Portugal
Gonçalo Ducla Soares
Affiliation:
ICIST, Instituto Superior Técnico, Technical University of Lisbon, Lisbon, Portugal
Rights & Permissions [Opens in a new window]

Abstract

This paper describes research carried out to develop a parametric urban shape grammar for the Zaouiat Lakhdar quarter of the Medina of Marrakech in Morocco. The goal is to create the basis for a system that could capture some features of the existing urban fabric and apply them in contemporary urban planning and architectural design. The methodology used is described, from the initial historical analysis and fieldwork to the identification of three subgrammars necessary to encode the complexity of the urban preexistences: the urban grammar, the negotiation grammar, and the housing grammar. Top-down and bottom-up approaches to grammar design are analyzed and compared. The bottom-up urban grammar developed is then described, and a hand derivation of the existing urban fabric is proposed. Visual, symbolic, and tagged computer implementations of shape grammars are briefly discussed and a novel design generated by the tagged interpreter is presented.

Information

Type
Research Article
Copyright
Copyright © Cambridge University Press 2007
Figure 0

Fig. 1. A partial map of the Marrakech Medina. The shaded area delineates the Zaouiat Lakhdar, the quarter selected as a case study. Its boundaries are well defined by four major commercial streets. Below is the Mosque Ben Youssef (12th century) and attached to the right, belonging to the same complex, is the Medersa Ben Yussef.

Figure 1

Fig. 2. The plan of Zaouiat Lahdar. (1) The lots bordering the outer streets are mainly used for shops and public facilities. (2) The inner lots are accessed by (3) narrow, zigzagged, dead-end streets, called derbs, which are occupied by patio houses. The derbs are partially covered by (4) sabbats.

Figure 2

Fig. 3. An aerial north–south view of Zaouiat Lahdar, showing the intricate fabric of derbs and patio houses.

Figure 3

Fig. 4. Views of the of the Zaouiat Lakhdar quarter showing (a) a surrounding street, (b) a derb, (c) a sabbat, and (d) a patio house.

Figure 4

Fig. 5. The output of an experimental computer program encoding a basic urban grammar for the Marrakech Medina after (a) 100, (b) 200, (c) 500, and (d) 1000 iterations. [A color version of this figure can be viewed online at www.journals.cambridge.org]

Figure 5

Fig. 6. Plans of Zaouiat Lakhdar based on collected information showing the main directions of the urban fabric and the location of (left) derbs, sabbats, lots, house entrances, and patios and (right) which lots are accessed by which derbs. [A color version of this figure can be viewed online at www.journals.cambridge.org]

Figure 6

Fig. 7. The three stages reached by the subgrammars: (left) urban grammar, (center) negotiation grammar, and (right) patio house grammar.

Figure 7

Fig. 8. The top-down derivation of the Zaouiat Lakhdar quarter.

Figure 8

Fig. 9. The bottom-up derivation of the Zaouit Lakhdar zone.

Figure 9

Fig. 10. The (top) top-down/bottom-up mixed approach and (bottom) bottom-up/top-down mixed approach. [A color version of this figure can be viewed online at www.journals.cambridge.org]

Figure 10

Fig. 11. Rules for introducing the initial shape and defining the perimeter of the neighborhood.

Figure 11

Fig. 12. Two of the rules for inserting entrance points.

Figure 12

Fig. 13. The rule for inserting the initial extender of a derb.

Figure 13

Fig. 14. An example of the rule for inserting an articulator.

Figure 14

Fig. 15. General topological schema of the standard lot.

Figure 15

Fig. 16. Examples of rules for inserting lots along extenders.

Figure 16

Fig. 17. An example of the rule for inserting lots on elbowlike articulators.

Figure 17

Fig. 18. Rules to introduce lots in the inner corner formed by extenders.

Figure 18

Fig. 19. An example of the rule to insert lots in the outer corner formed by extenders.

Figure 19

Fig. 20. Examples of rules for inserting lots in the ending extender of a derb.

Figure 20

Fig. 21. Examples of rules to modify existing lots.

Figure 21

Fig. 22. The partial derivation of the existing Zaouiat Lakhdar quarter. [A color version of this figure can be viewed online at www.journals.cambridge.org]

Figure 22

Fig. 23. The interpreter of the Marrakech urban grammar. [A color version of this figure can be viewed online at www.journals.cambridge.org]

Figure 23

Fig. 24. The physical model of a new urban solution created from the digital model generated by the interpreter using a laser cutter.

Figure 24

Fig. A.1. Stage 1: Define the limits of the neighborhood.

Figure 25

Fig. A.2. Stage 2: Insert the entrances into the derbs.

Figure 26

Fig. A.3. Stage 3: Insert extenders and articulators and form derbs.

Figure 27

Fig. A.4. Stage 4: Insert lots along the bordering street and the derbs' extenders.

Figure 28

Fig. A.5. Stage 5: Insert lots at the ends of the derbs.

Figure 29

Fig. A.6. Stage 6: Modify the layout of the derbs and lots.

Figure 30

Fig. B.1. The complete derivation of the Zaouiat Lakhdar quarter. The numbers in parentheses indicate the number of times the rule above was applied.