- Managing DEMs
- Topographic maps
- Mobile apps
This is an old revision of the document!
There are various contour extraction algorithms in QGIS, for example:
Below is an example of contours created without and with sink removal. The contours on the right have been derived from a DEM where the sinks (in yellow on the left) have been filled.
Vectors can be compressed by using something like:
A tolerance of 1(m) seems reasonable for 1:25000 mapping. Smaller tolerances may be appropriate for larger scale maps (eg 1:10000, 1:5000).
For more options in compression, look at:
V.generalize can also be used to smooth contours - possibly best done prior to simplificiation
Here is one approach, which involves adding a length attribute to each contour, and removing those that fall below a certain length. It may cause issues if you have short sections of contour near the edge of the map that you need.
See separate page on QGIS Contour Labelling