We travelled on a funicular railway (carriages pulled up hill by cable) to the cable car at Montjuic.