4

Having a points shapefile with z values, how do I keep in the geometry only the x,y values? I also want to move the z values to a newly created double field.

Taras
  • 32,823
  • 4
  • 66
  • 137
tudorbarascu
  • 874
  • 7
  • 19
  • Might be worth having a look here: http://www.faunalia.com/content/transfer-3d-shapefiles-z-values-table-attributes – nhopton Dec 13 '12 at 19:52

3 Answers3

2
  1. Extract Z values which "Extracts z values from geometries into feature attributes."
  2. Right-click the layer - Export - Save Features As and untick "Include z-dimension"
BERA
  • 72,339
  • 13
  • 72
  • 161
2

What about exporting with appended Lat/Lon (Vector -> Geometry-Tools -> Export/Append Geometry Columns), saving as new file ? If the function is implemented 3D (sorry, I've no idea if) this should give you the required result. To make shure the z is dropped, you might export the result as CSV, edit and again load as new layer.

Chris Pallasch
  • 850
  • 2
  • 10
  • 17
  • The function doesn't have z support. – tudorbarascu Dec 13 '12 at 18:49
  • There is an thread which might be helpful:

    http://gis.stackexchange.com/questions/19163/how-to-convert-shp-to-csv-including-attributes-and-geometry

    Especially the idea to transfer the shp into a database

    – Chris Pallasch Dec 13 '12 at 19:24
2

I used http://converter.mygeodata.eu/ there I can convert a shape file to csv file with xyz or xy values. Edit and again load as new layer.

Nicolas
  • 113
  • 1
  • 7