User Tools

Site Tools


qgis_contours

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
qgis_contours [2021/03/19 12:12] bushwalkingqgis_contours [2024/05/13 08:08] (current) – Contour screenshot bushwalking
Line 5: Line 5:
 There are various contour extraction algorithms in QGIS, for example: There are various contour extraction algorithms in QGIS, for example:
   * GDAL : Raster Extraction : Contour (same as Raster -> Extraction -> Contour...)   * GDAL : Raster Extraction : Contour (same as Raster -> Extraction -> Contour...)
 +
 +The two key fields are the //Input layer// (a DEM, ideally with sinks removed), and the //Interval between contour lines//. I typically use 10m or 5m for this.
 +
 +{{::qgis_gdal_contour.png?600|}}
  
 Below is an example of contours created without and with [[qgis_depressionless_dem|sink removal]]. The contours on the right have been derived from a DEM where the sinks (in yellow on the left) have been filled. Below is an example of contours created without and with [[qgis_depressionless_dem|sink removal]]. The contours on the right have been derived from a DEM where the sinks (in yellow on the left) have been filled.
Line 29: Line 33:
 {{:contour_loops.png|}} {{:contour_loops.png|}}
  
-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.+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. However, that shouldn't be a problem in most scenarios.
  
   * Open Attribute Table (F6)   * Open Attribute Table (F6)
qgis_contours.1616116344.txt.gz · Last modified: 2021/03/19 12:12 by bushwalking

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki