The city of Edinburgh grew up around the steep, ragged cliff of the Castle Rock and its easily defended summit.
The city of Edinburgh is right next to Castle Rock cliff.
Castle Rock cliff is very far away from the city of Edinburgh.