Toitū Te Whenua makes New Zealand’s most up-to-date publicly owned elevation data freely available to use under an open licence. You can access this through the LINZ Data Service.
For access to LINZ's aerial and satellite imagery see linz/imagery
Source code is licensed under MIT.
All metadata and docs are licensed under CC-BY-4.0.