Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm currently trying to import a 3D contour file into a QGIS project.

How can I export the DXF file from Microstation with height information?

I already have imported it to the QGIS project but can not create a TIN because the height info is missing.

I'm using QGIS Lisboa 1.8.0

share|improve this question
I've had a problem like this with DXF contour layers. In the DXF the elevation values (the "z" values) are contained in the xyz triplets that form the vertices of the lines. When you convert from DXF to SHP GDAL/OGR doesn't save the z-values as attributes. Is this the problem you have? N. – nhopton Nov 15 '12 at 17:06

Use the Interpolation plugin. It is not turned on by default so click Plugins -> Manage Plugins and check the Interpolation Plugin box. Once activated access the plugin by clicking Raster -> Interpolation -> Interpolation.

From the plugin's menu there is a checkbox that will allow you to use the Z value of your layer as the elevation source rather than a value from the attribute table.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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