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 need to do a slope analysis, and would like to make a TIN from 2m contours lines. Or do a slope analysis directly from contours? The only DEM available is not precise enough. I do not have any elevation raster files.

And how do I then make slope classes? The TIN properties does not seem to be able to classify anything other than elevation.

share|improve this question

You can use the interpolation plug in. It is located in the raster menu.This is the dialog box

enter image description here

The output file is a raster that you can use with the raster/analysis/dem (terrain models) to produce the slope (either degrees or percent) analysis.

hope it helps

share|improve this answer
Thanks. But I forgot to mention that I tried that, and it crashes QGIS. Both when I use DEM points and add contours, and use just contours. Works ok on points only, if zoomed in close. – Allison Feb 6 '13 at 21:49
A long time ago I used a free software to convert dxf polylines to a text file (x,y,z triplets) you can look at it here: may be it can help you, since you can use the file to interpolate by points. – Gerardo Jimenez Feb 7 '13 at 14:07

The crashing during raster interpolation was a memory issue, so I simplified the geometry of the contour lines (Vector > Geometry Tools) to vastly reduce the number of nodes without seeming to lose much accuracy. The raster interpolation plugin worked fine once the number of nodes was down enough.

Then Raster > Terrain Analysis for slope classes.

(This may seem obvious to some, but I am just learning and have not found much instruction for newbies)

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.