Hi John, when I lived in Wellington I once walked the coastline between Titahi Bay and Cale Te Rawhiti. Metrosideros perforata is locally common along parts of that coastline, as indeed it is elsewhere along the South Wellington coast. This species is very tolerant of a range of conditions, and it is not unusual to see it in the places you describe elsewhere in New Zealand. Remember too that at one time there was forest in these Wellington areas extending to the coast - what you are seeing with the rata is merely the final expressions of that once extensive forest.