As your ship ties up at Melkki Quay, or Valtameri Quay next to it, you may conclude that you've drawn the shortest straw. Melkki and Valtameri (initials LMA and LV7 on the map) are overspill berths for ships that can't be accommodated elsewhere.
The area is quite clean, however, and safe too if you watch out for the trucks. The nearby West Terminal serves ferry traffic to Tallinn and St Petersburg.
If you follow this zigzagging line for about half a kilometer, you'll reach the West Terminal and the head stop of tram line 9. This will take you quickly into the central area of town. Get off at the Central Railway Station.
Alternatively you can turn sharp left when you come out of the quay area, instead of obeying the sign that tells you to keep walking ahead. Skirt a small football pitch and a great mound of rock and you'll find the head stop for tram number 8.
Tram 8 won't take you to the centre of town, but its 7th stop, named Caloniuksenkatu, is only 450 metres from the entrance to the Temple Square "Rock" Church. You'll get there early in the morning, before the crowds arrive.