QGIS: exporting contours to DXF with height values

Quoc Dang · 83K views · 2016 · 4:57

Open on YouTube

Software (other)Testing, debugging & developer toolstutorialdated

Why Geographic Information Systems Stack Exchange recommends it

GIS Stack Exchange users cite it as the step-by-step recipe for getting 3D contours with height values into a DXF, and then ask follow-up questions when the steps fail for them.

Recommended by 2 people across 2 different months, 2020 to 2023.

What it is

A short screen-recorded QGIS tutorial showing how to generate contour lines, give them elevation values using the GRASS plugin (v.to.3d.attr), and export them to DXF with height data. It is aimed at people moving from GIS analysis into CAD or construction work, such as landscape architecture and planning.

What people said

Recommends Ivan T · 2020-05 · Geographic Information Systems Stack Exchange · on “QGIS DXF contours with elevation”

I have followed all instructions from this YouTube tutorial [this video] . Create contours and show elevation values Open GRASS plugin on QGIS - create new mapset and choose the "import loaded vector" command from GRASS and choose your contour layer v.to.3d.attr (Performs a transformation of 2D vector features to 3D to height based on attribute) Once I hit step 3 QGIS crashes both 3.10 and 3.12 versions but something that's very essential is that the contour vector layer created from step 2 does NOT have any elevation data and I have been told that causes QGIS to crash at step 3. Also, after running step two the new contour vector layer has a question mark next to it saying that the layer has no

Recommends Scott · 2020-09 · Geographic Information Systems Stack Exchange · on “QGIS: exporting contours to DXF with height values”

I am using this video tutorial to create ground contours for a noise model in iNoise. [this video] See tutorial 8 [LINK] When I import the dxf file it has no height data. Not sure where I'm going wrong as all the layers have height data when checked in QGIS. It seems I lose it when exporting as a DXF. This question may indicate that DXF has no height values but is drawn to height. Not sure. Exporting QGIS contour attributes in DXF file? [LINK]

Cites J.Watt · 2023-03 · Geographic Information Systems Stack Exchange · on “QGIS grass imports vector line data as points, not vector lines”

I am very new to QGIS and Grass. I am trying to create a dxf file with height data using Grass 7 as per this youtube video [this video] . (1:35 mark) My contour data and Qgis file is uploaded here [LINK] . When I go to import vector (contours lines) data into GRASS, its view output is in points not vector lines. Before Import: [LINK] After Import: [LINK] How do I import the vector data into GRASS as vector lines not points. I cannot make height elevations with points I believe.