How to Open NZ Elevation Tools Downloads in QGIS

Which file to download for each job, which coordinate system it comes in, and how to open, colour and credit it in QGIS, the free desktop GIS.

The Download Data panel in NZ Elevation Tools beside a dashed box drawn over farmland, with the elevation GeoTIFF, the contour formats, the aerial photo formats and the Property Data ZIP outlined and numbered 1 to 5
(1) Your area. Each chip names the format and, below it, its coordinate system: (2) the elevation GeoTIFF, NZTM2000; (3) contours, GeoJSON, KML and Shapefile in WGS84 and DXF in NZTM2000; (4) the aerial photo; (5) several parts in one ZIP. This is the app, not QGIS.

Every tool on NZ Elevation Tools shows its result on the map. When you want to keep working on it, with your own paddock boundaries, soil maps or GPS points, you need the file in a GIS. QGIS is free and opens all of the GIS files the app makes.

The one thing to get right is the coordinate system. The app uses two: NZTM2000 (EPSG:2193), metres on the grid LINZ publishes in, for rasters and CAD files; and WGS84 (EPSG:4326), longitude and latitude, for GeoJSON, KML and Shapefile. QGIS lines them up as long as each file’s system is known. Only the DXF needs telling.

Which download for which job

JobWhereFilesCoordinate systemWhat is in it
Contours to label or printDownload Data › Contour LinesGeoJSON, Shapefile (zipped), KML, DXF. SVG and PDF are drawings, not GIS layers.GeoJSON, Shapefile and KML: WGS84. DXF: NZTM2000, not stored in the file.Height field: elevation (the Shapefile also has elev_m), in metres. Built on our server from 1 m LiDAR.
Slope or aspect gridSlope & Aspect › Download GeoTIFFslope-nztm2000.tif or aspect-nztm2000.tifNZTM2000 (EPSG:2193)Slope in degrees. Aspect in compass degrees from north, −1 for flat. No data −32768.
Catchment outlineCatchment › Download outlineGeoJSON, KML, DXF; the grid as Download GeoTIFF (NZTM2000)GeoJSON and KML: WGS84. DXF: NZTM2000, not stored in the file. GeoTIFF: NZTM2000.The GeoJSON has area_ha, area_m2 and complete fields. The grid is 1 inside the catchment, no data outside.
Flow paths and wetnessFlow Paths › GeoJSON or KML; Wetness Map › Download GeoTIFF (NZTM2000)drainage.geojson or drainage.kml; wetness-nztm2000.tifFlow paths: WGS84. Wetness grid: NZTM2000.Flow path fields: catchmentM2 (land draining through, m²), strahler (stream order), lengthM.
Elevation model (DEM)Download Data › 3D & Terrain › GeoTIFFterrain.tif (Surface gives surface-dsm.tif: trees and roofs)NZTM2000 (EPSG:2193)Heights in metres, to 1 cm. No data −9999. 1 m cells on areas up to 3 km per side.
Aerial photo to trace overDownload Data › Aerial PhotoGeoTIFF; PNG with world file (in a ZIP); KMZGeoTIFF and PNG: NZTM2000. KMZ: WGS84, for Google Earth.The PNG ZIP holds .png, .pgw, .prj and .png.aux.xml. Keep them together.
Several of these at onceDownload Data › Property Data ZIP, or Property Report › Data bundle (ZIP)One ZIP with the parts you tick, a README.txt and manifest.jsonNZTM2000 and WGS84, listed file by file in the READMEIts contour Shapefile is a ZIP inside the ZIP. The contour interval is fitted to the ground.

The Contour Lines tool has its own GeoJSON and KML buttons, built in your browser from the map’s elevation tiles. Download Data builds contours on our server from the 1 m LiDAR model and offers more formats. For more on the elevation model itself, see Download DEM data for New Zealand.

Pick your files

Draw a box or select a property in Download Data. Every chip shows its format and coordinate system before you download.

Open Download Data →

Six downloads, on a real farm

The screenshots follow a dairy and drystock farm on the edge of the Piako flats in the Waikato: the 38 ha bush gully catchment from the catchment guide and a 0.8 × 0.9 km box around it. Running each tool is free. On the live site, each download button needs a pass.

01

Draw your area and download the contours

Open Data, then Download Data. Choose Draw a box instead and drag a box over the land, or select a property or upload a boundary. Under Contour Lines pick GeoJSON or Shapefile, pick the contour interval, and choose Download. The panel shows the size of the box and the detail before you download.

The Download Data panel with the Shapefile chip, the 2 m interval and the Download Shapefile button outlined and numbered 2 to 4, beside a dashed box over hill paddocks numbered 1
(1) The box: 0.8 × 0.9 km around the gully. (2) Shapefile, for GIS, in WGS84. (3) The contour interval, 2 m here. (4) Download Shapefile. On the live site, without a pass, this button opens the pass panel instead.
Download Data →
02

Or download the elevation model or the aerial photo

With the same box, pick GeoTIFF under 3D & Terrain for the elevation model: one height in metres per cell. For a photo to trace over, pick GeoTIFF or PNG under Aerial Photo. Both are in NZTM2000: the GeoTIFF opens straight in QGIS, and the PNG comes in a ZIP with its world file, to unzip first. The Photo list chooses which year. KMZ is for Google Earth.

Download Data →
03

Download the catchment outline

After a Catchment run, Download outline offers DXF, GeoJSON and KML. For QGIS, take the GeoJSON. Download GeoTIFF (NZTM2000) below it gives the catchment as a grid instead.

A blue catchment over hill paddocks with the Catchment panel, the DXF, GeoJSON and KML buttons, the DXF note and the Download GeoTIFF (NZTM2000) button outlined and numbered 1 to 3
(1) The outline: DXF in NZTM2000 for CAD, GeoJSON and KML in WGS84. This one saved as catchment-38-3ha.geojson. (2) The DXF has no coordinate system inside it: set it to EPSG:2193 in QGIS. (3) The catchment as a GeoTIFF grid.
Catchment →
04

Download a slope or aspect grid

Run Slope & Aspect on your area, then choose Download GeoTIFF under the results. The line below the button says the coordinate system and what the values are. Here the area is the catchment from the step before, picked under Analyse this catchment.

A slope map of the catchment with the Slope & Aspect panel, the area label Catchment, 38 ha, the Download GeoTIFF button and the note below it outlined and numbered 1 to 3
(1) The area: the 38 ha catchment. (2) Download GeoTIFF gives slope-nztm2000.tif. (3) “NZTM2000 (EPSG:2193), for QGIS, ArcGIS and other GIS. Values: slope, degrees.” The panel reads mean 13°, max 53°.
Slope & Aspect →
05

Download flow paths or the wetness grid

Run Flow Paths and choose GeoJSON under the results for the lines, with how much land drains through each. Wetness Map gives a GeoTIFF instead: Download GeoTIFF (NZTM2000) after Run analysis.

Blue flow paths branching across the catchment with the GeoJSON and KML buttons at the bottom of the Flow Paths panel outlined and numbered 1
(1) GeoJSON gives drainage.geojson, in WGS84; KML is for Google Earth.
Flow Paths →
06

Or take several in one ZIP

Pick ZIP under Property Data ZIP and tick the parts you want. Each part says its formats and coordinate system, and the ZIP carries a README.txt and manifest.json listing every file. Unzip it into its own folder before you open it.

The Property Data ZIP chip and the first five parts of its list, Boundary, Mapped water, Elevation GeoTIFF, Contours and 3D print model, outlined and numbered 1 and 2
(1) Property Data ZIP. (2) The first parts, each with its formats and coordinate system; more follow below. With these and the aerial photo, ticked further down and most of the size, the panel said about 12 MB.
Download Data →

Open the files in QGIS

The downloaded files were opened in QGIS 3.44, and the menu names below are from that version. Get QGIS from qgis.org; other 3.x versions have the same menus, sometimes worded slightly differently.

  1. Unzip what needs unzipping. A contour Shapefile ZIP opens in QGIS as it is. Unzip the aerial photo PNG ZIP and the Property Data ZIP into their own folders first, and keep each set of files together. Inside the Property Data ZIP, the contour Shapefile is a ZIP of its own, which QGIS opens as it is.
  2. Add the files. Start a new project and drag the files from your file manager onto the map. Or use Layer › Add Layer › Add Vector Layer… for GeoJSON, Shapefile, KML and DXF, and Layer › Add Layer › Add Raster Layer… for GeoTIFF and PNG. The WGS84 files are reprojected on the fly and line up with the NZTM2000 ones.
  3. Set the project to NZTM2000. QGIS normally takes the project’s coordinate system from the first layer you add, so after a GeoJSON it reads EPSG:4326, in degrees. Click the coordinate system in the bottom-right corner of the window (or Project › Properties… › CRS), search for 2193, pick NZGD2000 / New Zealand Transverse Mercator 2000, and check the corner now reads EPSG:2193.
  4. Give a DXF its coordinate system. A DXF has none, so QGIS may ask, or load it with no CRS. Right-click the layer, choose Layer CRS › Set Layer CRS… and pick EPSG:2193.
  5. Colour the slope grid. Double-click the slope layer to open Layer Properties, go to Symbology and set Render type to Singleband pseudocolor. Pick a colour ramp. To match the app’s slope classes, set Interpolation to Discrete and edit the class values to 10, 20, 25 and the maximum. The values are degrees; the area outside the catchment is no data and stays clear.
  6. Label the contours by height. In the contour layer’s Layer Properties, open Labels, choose Single Labels and set Value to elevation. In the Shapefile, elevation and elev_m hold the same height in metres.
  7. Shade the elevation model. For the DEM GeoTIFF, Singleband pseudocolor colours it by height. Duplicate the layer and set the copy to Hillshade to see the shape of the ground.
  8. Keep the credit. The data is LINZ’s, under CC BY 4.0, and each file names the licensors for its area: in the GeoJSON’s attribution member, in the GeoTIFF’s description, and in README.txt in every ZIP. Put that line on any map you print or publish.

What the files hold

Units. Elevation GeoTIFFs and contour heights are metres. Slope is degrees, not percent: 45° is a 100% gradient. Aspect is degrees clockwise from north, with −1 for flat ground. The wetness grid is an index with no unit. QGIS shows the slope and analysis grids as bare numbers. Each GeoTIFF carries a description, with the tool’s settings, cell size and credit, and for slope its units: see Layer Properties › Information.

No data. The elevation GeoTIFF marks empty cells −9999. The slope, aspect, catchment and wetness grids use −32768. QGIS reads both from the file, so empty cells draw clear.

Detail. Download Data reads 1 m cells on areas up to 3 km per side and coarser cells on bigger ones; the panel says which before you download. The analysis grids keep the cell size the tool ran at, written in each file.

Common problems

  • A Shapefile with no attributes or in the wrong place. A Shapefile is several files: .shp, .shx, .dbf and .prj. Without the .dbf there are no heights; without the .prj QGIS does not know it is WGS84. Send the ZIP as it came, or send the GeoJSON instead.
  • A DXF in the middle of the ocean. It has no coordinate system, or the wrong one. Set it to EPSG:2193. If it was downloaded with “Place near 0,0”, download it again without.
  • Slope numbers that look too small. They are degrees. A contractor or manual may quote percent gradient; see the table in the farm slope map guide.
  • Measurements in degrees. The project is in WGS84. Set it to EPSG:2193. To edit or buffer a WGS84 layer in metres, use Export › Save Features As… to save a copy in EPSG:2193.
  • The PNG photo lands nowhere. Its position is in the .pgw world file and its coordinate system in the .prj and .png.aux.xml beside it. Keep all four together in one folder.
  • Heights that disagree with a survey. Check the vertical datum first. These heights are NZVD2016, as LINZ states for its LiDAR DEM; older plans may use a local datum. QGIS does not convert heights.

Take your results into QGIS

The maps are free. With a pass, contours download as GeoJSON, Shapefile, KML or DXF, slope, catchment and wetness grids and the elevation model as GeoTIFF in NZTM2000, and the aerial photo as GeoTIFF, PNG or KMZ.

What this cannot tell you

  • Survey-grade levels. Every file is indicative, from a digital elevation model. Have a surveyor measure where exact levels or boundaries matter.
  • Legal boundaries. A box or a parcel outline is approximate, and an aerial photo can sit a little off true ground position. Neither is evidence of a boundary.
  • Pipes and underground drains. Flow paths, wetness and catchments come from the bare ground surface. Culverts you did not draw, tile drains and pipes are not in them.
  • Changes since the survey. The files show the ground on the day LiDAR was flown and the photo on its capture date.

Related guides

Screenshots from NZ Elevation Tools of a dairy and drystock farm on the edge of the Piako flats in the Waikato, with legal descriptions and owners blurred. Aerial photos and LiDAR from LINZ. Sourced from the LINZ Data Service and licensed by Regional Software Holdings Limited and Waikato Regional Council for re-use under the Creative Commons Attribution 4.0 International licence. Attribution guidance: LINZ.

Frequently asked questions

Should I download GeoJSON or Shapefile for QGIS?

Either opens in QGIS. GeoJSON is one file, so nothing can go missing when you email or copy it, and it keeps long field names. Choose Shapefile when someone else’s workflow needs one. It comes zipped with all its parts, and QGIS opens the ZIP as it is.

Why are some files in NZTM2000 and others in WGS84?

The app gives CAD and raster files (DXF, GeoTIFF, the aerial PNG) in NZTM2000, EPSG:2193, the metre grid LINZ publishes in. GIS and web vector files (GeoJSON, KML, Shapefile) come in WGS84, EPSG:4326, longitude and latitude, which GeoJSON and KML require. QGIS reprojects layers on the fly, so they line up either way. Set the project to EPSG:2193 so distances and areas read in metres.

My DXF opens in the wrong place, or with no coordinate system. Why?

A DXF cannot record its coordinate system. Ours are in NZTM2000 metres, so tell QGIS: right-click the layer, choose Layer CRS › Set Layer CRS… and pick EPSG:2193. A DXF downloaded with “Place near 0,0” is shifted and will not line up with anything in GIS.

Can I get the contours as a Shapefile in NZTM2000?

The Shapefile downloads in WGS84. In QGIS, right-click the layer, choose Export › Save Features As…, set the format to ESRI Shapefile and the CRS to EPSG:2193, and save. QGIS writes a new set of files in NZTM2000.

Do I need a pass to download?

Running every tool and seeing the full result on the map is free, with no account. On the live site, downloading a file needs a pass, which unlocks every download from every tool while it lasts. See the pricing page.

What height datum are the elevations in?

The files say so themselves: LINZ states NZVD2016 as the vertical datum of its 1 m LiDAR DEM. QGIS does not change heights when it reprojects. If your other data uses an older local height datum, convert one of them before you compare levels.