I have found out how to get tab-delimited X,Y data into a layer but the Z field value is not given as an option on import?

I tried to edit the attributes to add and define a new field but it keeps crashing.

  • Do your data represent a terrain elevation model or are they 3D points representing something else? Oct 9, 2013 at 7:16
  • the tab-delimited tool is only for importing vector data. If your xyz-data has the correct format you should be able to load it as raster layer
    – Curlew
    Oct 9, 2013 at 7:22
  • Do you have geocentric xyz coordinates, or should z be the height above the ellipsoid?
    – AndreJ
    Oct 9, 2013 at 8:49

2 Answers 2


If you go to the menu "Layer" and then "Add delimited text Layer", choose the correct delimiter (tabs, commas, semicolons, ...) and then choose the correct X and Y fields below it should show a preview at the bottom of the window - with all columns from the original file (see below).

If you press "ok" a temporary point layer will be created. Each column from the original delimited text layer will show up in the attribute table. You should save it before you continue to work with it.

enter image description here

Edit: You could then e.g. interpolate the data if you need a raster to work with.


After import point, you should have still z value in attribute table. Use "Set Z Value" from processing to add Z value to point.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.