A state of emergency has been declared for parts of Wellington as New Zealand's weather bureau warns of waves up to nine metres along the city's south coast.