Waves up to 36 feet high hit New Zealand coasts, displacing people