Answer:
Kaifeng did have an external wall, but its population spilled beyond it. Unlike previous capitals, such as the Tang dynasty's Chang'an, the Song capitals did not have walled wards. The wall we see in the scroll had no military purpose, but its gate (see images below) still formed an impressive entrance into the city.