Bug report #20182

importing dxf, it loses z or elevation attribute.

Added by yonghyun kim about 4 years ago. Updated almost 4 years ago.

Assignee:Jürgen Fischer
Category:DWG/DXF import
Affected QGIS version:3.2.3 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:No Copied to github as #:28003


When import a contour layer from dxf, z or elevation attribute is disappeared.
I can see only line color, thinkenss ...attribute.
When import dxf with arcgis, I can see attribute name 'Elevation'.

7111_7114.dxf (599 KB) yonghyun kim, 2018-10-22 05:08 PM


#1 Updated by yonghyun kim about 4 years ago

#2 Updated by Jürgen Fischer almost 4 years ago

  • Resolution set to invalid
  • Status changed from Open to Closed

DXF doesn't contain separate elevations. The elevation is part of the geometries and not necessarily the same for all points of line. QGIS imports the DXF in 3D. You'll find that the elevation tool will produces a derived Z value when you click on a elevated feature. AFAIK there's current no expression to produce the average elevation of a line geometry (only the z value of a point) - but processing has the "extract z value" tool.

Also available in: Atom PDF