I want to change all the elevation of the polygons of a shapefile using the field value ELEV from each polygon. So each vertex of each polygons as all the same Z (elevation). Anyone knows how to do that?



  • Where is the ELEV field stored? – Cezar B Mar 11 '18 at 8:24
  • ... in the attribute table, and each Lakes has an elevation field, which i try to use for actual elevation for each polygon. It is already a 3D polygon. I tried v.extrude and v.to.3d already, but couldnt get the result I wanted... – Steeve Brissette Mar 11 '18 at 8:34
  • If you are using v.to.3d in QGIS2.18, try (1) NOT to use a 3D polygon as the input. You need original 2D polygon with Z attribute field. (2) In Advanced parameters select area in v.out.ogr output type pull-down menu. – Kazuhito Mar 11 '18 at 9:17

In QGIS 3.0, run the "set z value" algorithm. Hit the button next to z value and select the field containing your desired z values.

  • Thanks a lot. I wasnt aware of version 3. I really appreciate. – Steeve Brissette Mar 11 '18 at 10:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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