Is there a way to convert 2D features to "3D" features in QGIS? I know there is a way to do this in ArcMap by using an attribute value in the attribute table, but I am looking to do this with shapefiles in QGIS.

  • I want to convert to 3D from 2D – user39281 Oct 16 '14 at 11:15
  • Convert what? Lines, polygons, points? – Ryan Garnett Oct 17 '14 at 1:04
  • a pleasure to greet How can I convert a 3d polyline shape to a 2d in QGis? Thank you – Eddison Araya Sep 15 '17 at 13:34
  • If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review – MaryBeth Sep 15 '17 at 13:54

You can use the v.to.3d module in the GRASS toolkit (installed with QGIS) to do 2d to 3d layer transformation:

v.to.3d - Performs transformation of 2D vector features to 3D.

  • Thank you, this seems to be the exact tool, however, when I look for the tool in the GRASS Tools I do not see it. There are four tools available (r.topidx, vdrape, v.random and nviz) when filtered by 3D, but no v.to.3d. I am new to Grass Tools, is there something I am doing incorrectly? – Ryan Garnett Jun 21 '12 at 16:08
  • The module is new to version 6.4.0, see link grass.osgeo.org/announces/announce_grass640.html – artwork21 Jun 21 '12 at 16:28
  • I have downloaded and installed the newest version of Grass (6.4.1-1). After installation I do not see the v.to.3d tool available within QGIS. What am I missing? – Ryan Garnett Jun 21 '12 at 17:12

Sorry for the long time to answer, I was on vacation. I am using the QGis 2.14 in portuguese, but i'll try to show you the steps with pics bellow.

1- click in save as

enter image description here

2- On the "save window" choose the option "inclui dimensao-z" in english is equal to "include Z data" i think. enter image description here


QGIS 3 has 3D support now. Open 3D Map window via "View > New 3D Map View" and set any filed as height and/or extrusion value.

enter image description here

This post helps you out.


QGIS 2.14 version does convert 2D to 3D features.

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

  • 4
    How? Providing some details on which tools to use would make your answer helpful. – SaultDon Mar 11 '16 at 22:34

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.