Difference between revisions of "Exploring Hydrological Analyses using ILWIS"

From CUOSGwiki
Jump to navigationJump to search
Line 27: Line 27:
   
 
[[File:ILWIS_Interface2.png|800px]]
 
[[File:ILWIS_Interface2.png|800px]]
 
 
''Figure 1: Screenshot of ILWIS Interface''
 
''Figure 1: Screenshot of ILWIS Interface''
   
Line 36: Line 35:
   
 
[[File:ImportDEM_1.png|800px]]
 
[[File:ImportDEM_1.png|800px]]
 
 
''Figure 2 - Finding the import tool in ILWIS''
 
''Figure 2 - Finding the import tool in ILWIS''
   
Line 42: Line 40:
   
 
[[File:ImportDEM_2.png|500px]]
 
[[File:ImportDEM_2.png|500px]]
 
 
''Figure 3 - ILWIS import window''
 
''Figure 3 - ILWIS import window''
   
Line 54: Line 51:
   
 
[[File:ForeignCollectionWindow.png|500px]]
 
[[File:ForeignCollectionWindow.png|500px]]
 
 
''Figure 4 - ILWIS foreign collection window''
 
''Figure 4 - ILWIS foreign collection window''
   
Line 64: Line 60:
   
 
[[File:OpenMap_2.png|800px]]
 
[[File:OpenMap_2.png|800px]]
 
 
''Figure 6 - Projected DEM of Lake Okanagan in ILWIS software''
 
''Figure 6 - Projected DEM of Lake Okanagan in ILWIS software''
   
===Projecting a DEM in QGIS===
+
===Projecting a DEM===
 
Projecting in ILWIS did not work, so QGIS (another open source GIS software) was used instead. These following steps explain how to load a DEM into QGIS, assign a projection, and export the DEM to be used in other software (e.g. ILWIS).
 
Projecting in ILWIS did not work, so QGIS (another open source GIS software) was used instead. These following steps explain how to load a DEM into QGIS, assign a projection, and export the DEM to be used in other software (e.g. ILWIS).
   
Line 105: Line 100:
   
 
10) Click Save. A projected DEM for the region of interest is now saved and can be loaded into ILWIS.
 
10) Click Save. A projected DEM for the region of interest is now saved and can be loaded into ILWIS.
 
 
   
 
===Fill Sinks in a DEM===
 
===Fill Sinks in a DEM===
Line 143: Line 136:
 
* Lowest height: finds the neighbouring pixel with the smallest height value
 
* Lowest height: finds the neighbouring pixel with the smallest height value
 
 
More information on the methods can be found at this [http://spatial-analyst.net/ILWIS/htm/ilwisapp/flow_direction_functionality.htm ILWIS Flow Direction webpage]
+
More information on the methods can be found at this [http://spatial-analyst.net/ILWIS/htm/ilwisapp/flow_direction_functionality.htm ILWIS Flow Direction webpage].
   
  +
1) Right click on the DEM layer in which the sinks have been filled, and select DEM Hydro-processing --> Flow Direction
1) Operations -> Flow Determination -> Flow Direction
 
   
[[File:ILWIS Flow Direction Path.png |500px]]
+
[[File:FlowDir_DropdownMenu.png |500px]]
''Figure 12 - Path to Flow Direction ''
+
''Figure - Path to Flow Direction ''
   
[[File:ILWIS Flow Direction Window.png |400px]]
+
::* The Flow Direction window will open
''Figure 13 - Flow Direction window''
 
   
  +
[[File:FlowDir_Options.png |300px]]
2) Input the Fill DEM
 
 
''Figure - Flow Direction window''
   
3) Choose a flow direction method
+
3) Choose a flow direction method (in this case, steepest slope was selected)
   
  +
4) Name the output flow direction raster, and click Show
4) Click Show
 
   
5) The Flow Direction map will save in the working folder and open in a new window
+
5) The flow direction raster will save in the foreign collection folder and open in a new window
   
[[File:ILWIS Flow Direction Map.png| 800px]]
+
[[File:FlowDir_DEM.png| 800px]]
''Figure 14 - Flow Direction Map for Lake Okanagan''
+
''Figure - Flow Direction Map for Lake Okanagan''
   
 
===Flow Accumulation Map===
 
===Flow Accumulation Map===
Line 168: Line 161:
 
Flow Accumulation performs a cumulative count of the number of pixels that would flow into any given cell on the way to an outlet. This operation is commonly used to determine potential drainage patterns of terrain.
 
Flow Accumulation performs a cumulative count of the number of pixels that would flow into any given cell on the way to an outlet. This operation is commonly used to determine potential drainage patterns of terrain.
   
Flow Accumulation is calculated from the map created in Flow Direction, counting the number of cells that would drain into outlets based on the flow direciton.
+
Flow Accumulation is calculated from the map created in Flow Direction, counting the number of cells that would drain into outlets based on the flow direction.
 
 
 
More information on the method can be found at this [http://spatial-analyst.net/ILWIS/htm/ilwisapp/flow_accumulation_functionality.htm ILWIS Flow Accumulation webpage]
 
More information on the method can be found at this [http://spatial-analyst.net/ILWIS/htm/ilwisapp/flow_accumulation_functionality.htm ILWIS Flow Accumulation webpage]
   
  +
1) Right click on the DEM layer in which the flow direction has been calculated, and select DEM Hydro-processing --> Flow Accumulation
1) '''Operations''' -> '''Flow Determination''' -> '''Flow Accumulation'''
 
   
[[File:ILWIS Flow Accumulation path.png]]
+
[[File:FlowAcc_DropdownMenu.png]]
''Figure 15 - Path to find Flow Accumulation function''
+
''Figure 15 - Path to find Flow Accumulation operation''
   
[[File:ILWIS Flow Accumulation winodw.png]]
+
::* The Flow Accumulation window will open
  +
  +
[[File:FlowAcc_Options.png]]
 
''Figure 16 - Flow Accumulation window''
 
''Figure 16 - Flow Accumulation window''
   
2) Input '''Flow Direction Map''' and name the output Flow Accumulation map
+
2) Name the output Flow Accumulation raster, and click Show
   
  +
3) The flow accumulation raster will save in the foreign collection folder and open in a new window
3) Click '''Show'''
 
   
[[File:ILWIS Flow Accumulation Map.png| 800px]]
+
[[File:FlowAcc_DEM.png| 800px]]
 
''Figure 17 - Lake Okanagan region Flow Accumulation map''
 
''Figure 17 - Lake Okanagan region Flow Accumulation map''
   
*The output map will appear to be almost one uniform colour. If you use the zoom tool [[File:ILWIS zoom tool.png]] you can see more defined stream networks (Figure 18).
+
::*The output map will appear to be almost one uniform colour. If you use the zoom-in tool [[File:ILWIS zoom tool.png]] you can see more defined stream networks (Figure 18 - Zoom-In tool).
  +
* Legend values can be seen by expanding the menu on the left of the map int the map window
+
::* Legend values can be seen by expanding the menu on the left of the map in the map window
   
[[File:Zoomed in flow ILWIS flow accumulation.png |800px]]
+
[[File:FlowAcc_ZoomDem.png |800px]]
''Figure 18 - Zoomed in view of a flow in the Lake Okanagan Flow Accumulation map''
+
''Figure 18 - Zoomed in view of flow in the Lake Okanagan Flow Accumulation map''
   
 
===Drainage Network===
 
===Drainage Network===
Line 201: Line 197:
 
More information on the operation can be found at the [http://spatial-analyst.net/ILWIS/htm/ilwisapp/drainage_network_extraction.htm Drainage Network Extraction webpage]
 
More information on the operation can be found at the [http://spatial-analyst.net/ILWIS/htm/ilwisapp/drainage_network_extraction.htm Drainage Network Extraction webpage]
   
1) '''DEM hydro-processing''' -> '''Network and Catchment Extraction''' -> '''Drainage Network Extraction'''
+
1) Right click on the DEM layer in which the flow accumulation has been calculated, and select DEM Hydro-processing --> Drainage Network Extraction
   
[[File:Drainage network extraction path.png |500px]]
+
[[File:DrainNetExtract_DropdownMenu.png |500px]]
''Figure 19 - Path to find Network Extraction operation''
+
''Figure - Path to find Drainage Network Extraction operation''
   
[[File:Drainage Network Window ILWIS.png|400px]]
+
::* The Drainage Network Extraction window will open
'Figure 20 - Drainage Network Extraction window''
 
   
  +
[[File:DrainNetExtract_Options.png|400px]]
2) Input '''Flow Accumulation map'''
 
 
'Figure - Drainage Network Extraction window''
   
3) Determine desired threshold value
+
2) Determine desired threshold value (in this case, 10000 was the threshold)
   
  +
3) Name the output drainage network raster, and click Show
4) Name the '''Drainage Network'''
 
   
 
4) The drainage network map containing all streams that meet the threshold value will open
5) Click Show
 
   
  +
[[File:DrainNetExtract_DEM.png| 800px]]
6) New Drainage Network map with all streams that meet the threshold value will open
 
 
''Figure - Drainage Network map of Lake Okanagan region''
   
  +
::* Again, using the zoom-in tool will allow you to see the drainage network more clearly
[[File:Drainage Network Extraction Map ILWIS.png| 800px]]
 
''Figure 21 - Drainage Network map of Lake Okanagan region''
 
   
[[File:Drainage Network Extraction Map ZOOM ILWIS.png|800px]]
+
[[File:DrainNetExtract_ZoomDem.png|800px]]
''Figure 22 - Drainage Network map of Lake Okanagan region zoomed in''
+
''Figure - Drainage Network map of Lake Okanagan region zoomed in''
   
 
====Drainage Network Ordering====
 
====Drainage Network Ordering====
Line 263: Line 259:
 
More information on Overland Flow Length that can be found at the [http://spatial-analyst.net/ILWIS/htm/ilwisapp/overland_flow_length.htm ILWIS Overland Flow Length webpage]
 
More information on Overland Flow Length that can be found at the [http://spatial-analyst.net/ILWIS/htm/ilwisapp/overland_flow_length.htm ILWIS Overland Flow Length webpage]
   
1) '''Operations'''->'''DEM hydro-processing''' -> '''Compound Paramter Extraction''' -> '''Overland Flow Length'''
+
1) Right click on the DEM layer in which the drainage network order has been calculated, and select DEM Hydro-processing --> Overland Flow Length'''
   
  +
[[File:OverlandFlowLength_DropdownMenu.png]]
2) '''Flow Length to Oultet''' window will open
 
  +
''Figure - Path to find Overland Flow Length operation''
   
[[File:Flow length to outlet ILWIS window.png]]
+
::* The Overland Flow Length window will open
''Figure 26 - Flow length to outlet window''
 
   
  +
[[File:OverlandFlowLength_DropdownMenu.png]]
3) Input '''Drainage Network Ordering map''' that was previously created
 
 
''Figure 26 - Overland Flow Length window''
   
  +
2) Input the raster in which flow direction has been calculated as the "Flow Direction Map"
4) Input '''Flow Direction map''' that was previously created
 
   
5) Name output map
+
3) Name the output raster, and click Show
   
 
[[File:FLow length map ILWIS.png]]
 
[[File:FLow length map ILWIS.png]]

Revision as of 21:38, 2 October 2019

Purpose

ILWIS Logo

This Wiki tutorial has been produced for the purpose of exploring and describing the methods used for hydrological analyses in ILWIS (a FOSS4G program). The objective of this tutorial is to provide users with a better understanding of how the hydrological analyses within ILWIS works, in addition to providing the instructions necessary to reach the desired output for their study region. Additionally, this tutorial will allow for comparison of ILWIS and SAGA GIS, using the same data for analysis as the Exploring Hydrological Analyses using SAGA GIS tutorial from 2013.

This project will focus on hydrological analysis of Okanagan Lake, a popular tourist destination in British Columbia, Canada. The tutorial will cover topics such as Aspect mapping, Slope mapping, Watershed Delineation mapping and Wetness Index mapping through the use of ILWIS hydrological analysis tools.

Introduction to ILWIS

ILWIS stands for "Integrated Land and Water Information System". It is an open source Geographic Information System software program that was designed to be a user-friendly integrated software that contains both raster and vector processing capabilities, allowing for both analyses on remotely sensed images, vector maps and numerous spatial modeling abilities. ILWIS was developed by the International Institute for Aerospace Survey and Earth Sciences (ITC) in The Netherlands. This tutorial will focus on its ability to use Digital Elevation Models (DEMs) to run hydrological analyses of a study region. More information about this product can be found on the ILWIS Website

Methods

Software Download and Installation

ILWIS 3.8.5 can be downloaded for free from the GitHub page for 52 North. This is the most recent version of ILWIS 3 and was released on September 3, 2015. Since the release of this version, the ITC has released ILWIS 4. It is likely that new versions of ILWIS 3 will eventually stop being released, as the capabilities of ILWIS 4 become greater. More information about ILWIS 4 can be found on the ILWIS 4 website.

Data Sourcing

In order to carry out this exercise, a DEM of the area of interest is needed. For this project an open data DEM was obtained using the Geospatial Data Extraction Tool created by Natural Resources Canada.

Digital Elevation Models for locations outside of Canada can be obtained using the EarthExplorer Tool created by the United States Geological Survey (USGS).

Starting ILWIS

Before starting any analysis, create a working folder and ensure all data needed are in this folder. Keeping all your data in one folder makes analyses easier.


  • Ensure that ILWIS 3.8.5 is properly installed on your computer
  • Locate ILWIS from the program list and double click on the icon to launch program
  • ILWIS main page will open
  • Use the ILWIS Navigator Tab to locate your working folder. The Navigator lists all drivers and directories.

ILWIS Interface2.png Figure 1: Screenshot of ILWIS Interface

Importing a DEM

Before any analysis can be completed, a DEM of the region of interest must be imported into ILWIS.

1) Click Operations --> Import/Export --> GDAL (Geospatial Data Abstraction Library)

ImportDEM 1.png Figure 2 - Finding the import tool in ILWIS

  • An Import window will open

ImportDEM 2.png Figure 3 - ILWIS import window

2) Click to the DEM you want to import and ensure that the import format is set to Use GDAL.
3) Give your Output DEM a name and click OK.
  • The new DEM (compatible in ILWIS) will save in your working directory
4) To view your DEM double-click on the DEM to open the Foreign Collection window.

ForeignCollectionWindow.png Figure 4 - ILWIS foreign collection window

5) In the foreign collection window, double-click on the Raster Map icon to open the DEM.
ForeignCollectionWindow2.png
Figure 5 - ILWIS raster map icon
  • The raster map you have imported will open

OpenMap 2.png Figure 6 - Projected DEM of Lake Okanagan in ILWIS software

Projecting a DEM

Projecting in ILWIS did not work, so QGIS (another open source GIS software) was used instead. These following steps explain how to load a DEM into QGIS, assign a projection, and export the DEM to be used in other software (e.g. ILWIS).

PLEASE SEE THE DISCUSSION TAB, ABOVE, before proceeding

1) Download QGIS and open the program.

2) Add your DEM using the Add Raster Layer tool (Figure 2). You will have to navigate to the working folder and select the DEM.

Add Raster Layer QGIS.png Figure 2 - Path to Add Raster Layer command

3) To reproject your DEM click Raster -> Projection -> Assign Projection

4) A new window will open (Figure 3) called Assign Projection, within this window the DEM to be projected is selected for input file

Assign Projection QGIS Raster.png Figure 3 - Assign Projection window

5) Click Select... under desired srs in the Assign Projection window and a new Select Desired SRS window will open (Figure 4).

6) Within this window select the desired coordinate system. Click OK.

   (note: For the following hydrological analyses, the coordinate system chosen needs to be in planar coordinates (units of metres),
not in polar coordinates (units of degrees))

QGIS Select desired SRS.png Figure 4 - Desired SRS window

7) A new DEM will be added to the QGIS interface with the desired projection

8) The new DEM can be exported by right-clicking it and selecting Save as...

9) A window called Save raster layer as... will open. Under Save as browse to the desired folder location for your projected DEM and rename it.

Save Raster Layer As QGIS.png Figure 5 - Save Raster Layer As window

10) Click Save. A projected DEM for the region of interest is now saved and can be loaded into ILWIS.

Fill Sinks in a DEM

Fills should be run on DEMs to remove any local depressions, which can cause inaccuracies in following hydrological analyses.

Within ILWIS there are two Fill Methods:

  • Fill Sinks – removes depressions that consist of a single pixel and depressions that consist of multiple pixels. These pixels will then be given the smallest value of adjacent pixels.
  • Cut terrain – removes the depressions, does not re-assign values to the pixels but removes them entirely from the DEM

1) Under Operations select Flow Determination then Fill Sinks

Fill Sinks path.png Figure 9 - Path to find Fill Sink operation

2) A Fill Sinks window will open

ILWIS fill sinks window.png Figure 10 - Fill Sinks window

3) Input the DEM and decide which Fill method to use (Fill Sinks method was used for the purpose of this tutorial), finally name the output DEM.

4) A new DEM with depression filled will be created and added to the working folder

Fill Sink DEM.png Figure 11 - DEM with Fill Sink applied

Flow Direction

Flow direction depicts a main direction of flow (run-off). The flow direction operation determines into which neighbouring pixel any water from a given pixel would flow. This is determined by a moving 3x3 window for every single pixel, based on its neighbouring pixels height values.

Flow direction can be calculated by two methods:

  • Steepest Slope: finds steepest slope of a central pixel to one of its 8 neighbour pixels
  • Lowest height: finds the neighbouring pixel with the smallest height value

More information on the methods can be found at this ILWIS Flow Direction webpage.

1) Right click on the DEM layer in which the sinks have been filled, and select DEM Hydro-processing --> Flow Direction

FlowDir DropdownMenu.png Figure - Path to Flow Direction

  • The Flow Direction window will open

FlowDir Options.png Figure - Flow Direction window

3) Choose a flow direction method (in this case, steepest slope was selected)

4) Name the output flow direction raster, and click Show

5) The flow direction raster will save in the foreign collection folder and open in a new window

FlowDir DEM.png Figure - Flow Direction Map for Lake Okanagan

Flow Accumulation Map

Flow Accumulation performs a cumulative count of the number of pixels that would flow into any given cell on the way to an outlet. This operation is commonly used to determine potential drainage patterns of terrain.

Flow Accumulation is calculated from the map created in Flow Direction, counting the number of cells that would drain into outlets based on the flow direction.

More information on the method can be found at this ILWIS Flow Accumulation webpage

1) Right click on the DEM layer in which the flow direction has been calculated, and select DEM Hydro-processing --> Flow Accumulation

FlowAcc DropdownMenu.png Figure 15 - Path to find Flow Accumulation operation

  • The Flow Accumulation window will open

FlowAcc Options.png Figure 16 - Flow Accumulation window

2) Name the output Flow Accumulation raster, and click Show

3) The flow accumulation raster will save in the foreign collection folder and open in a new window

FlowAcc DEM.png Figure 17 - Lake Okanagan region Flow Accumulation map

  • The output map will appear to be almost one uniform colour. If you use the zoom-in tool ILWIS zoom tool.png you can see more defined stream networks (Figure 18 - Zoom-In tool).
  • Legend values can be seen by expanding the menu on the left of the map in the map window

800px Figure 18 - Zoomed in view of flow in the Lake Okanagan Flow Accumulation map

Drainage Network

Drainage Network Extraction

Drainage Network Extraction extracts a drainage network map. The map is boolean and will illustrate the drainage as pixels with value True, while all other pixels have value of False. The pixel value is determined by the Flow Accumulation Map and a threshold value. The threshold value in this operation is the minimum value required for a flow to be considered True in a drainage network, all cells with a value lower than the threshold will be classified as False.

More information on the operation can be found at the Drainage Network Extraction webpage

1) Right click on the DEM layer in which the flow accumulation has been calculated, and select DEM Hydro-processing --> Drainage Network Extraction

DrainNetExtract DropdownMenu.png Figure - Path to find Drainage Network Extraction operation

  • The Drainage Network Extraction window will open

DrainNetExtract Options.png 'Figure - Drainage Network Extraction window

2) Determine desired threshold value (in this case, 10000 was the threshold)

3) Name the output drainage network raster, and click Show

4) The drainage network map containing all streams that meet the threshold value will open

800px Figure - Drainage Network map of Lake Okanagan region

  • Again, using the zoom-in tool will allow you to see the drainage network more clearly

800px Figure - Drainage Network map of Lake Okanagan region zoomed in

Drainage Network Ordering

Drainage Network Ordering operation finds all drainage line in the Drainage Network and their nodes, and applies a unique ID to each stream.

Drainage Network Ordering requires the input of:

  • Fill DEM
  • Flow Direction Map
  • Drainage Network Map

More information on the operation can be found at the Drainage Network Ordering webpage

1) DEM hydro-processing -> Network and Catchment Extraction -> Drainage Network Ordering

2) Input Fill DEM, Flow Direction Map, and Drainage Network Map

Drain net order.png Figure 23 - Drainage Network Ordering Window

3) Determine minimum drainage length

  • Minimum drainage length determines the minimum length a drainage line in the Drainage Netowrk map that can be assigned an unique ID

4) Name the output map

Drainage Network Ordering output map.png Figure 24 - Drainage Network Ordering output map

Output consists of both a map and a Table. The table lists all the streams with ID values, coordinates, lengths, slope of drainage. This can be seen in Figure 25.

Drainage network Order.png Figure 25 - Drainage Network Order output table

Overland Flow Length

Overland Flow Length overland distance towards the 'nearest' drainage for each pixel based on flow paths available from the Flow Direction Map. This will create a map showing the distance a flow must travel to reach the outlet of a given watershed.

More information on Overland Flow Length that can be found at the ILWIS Overland Flow Length webpage

1) Right click on the DEM layer in which the drainage network order has been calculated, and select DEM Hydro-processing --> Overland Flow Length

OverlandFlowLength DropdownMenu.png Figure - Path to find Overland Flow Length operation

  • The Overland Flow Length window will open

OverlandFlowLength DropdownMenu.png Figure 26 - Overland Flow Length window

2) Input the raster in which flow direction has been calculated as the "Flow Direction Map"

3) Name the output raster, and click Show

FLow length map ILWIS.png Figure 27 - Flow length in metres map for Lake Okanagan region

The output map will show the different sub watershed and the flow length for each cell to reach the outlet. To determine the flow length of a specific cell, use the normal mouse cursor ILWIS mouse cursor.png and click on the area of interest. The flow length value in metres will appear in the table on the bottom left portion of the screen.

Specific point value flow length.png Figure 28 - Flow length for a given point selected with the cursor

Not Covered in this Tutorial

This tutorial covers the most basic hydrological tools for a more simple and basic hydrological analysis using ILWIS. Operations that have not been covered but should be considered when desiring a more in-depth and accurate analysis include:

  • DEM Visualization
  • Watershed Extraction
  • Watershed Merge
  • DEM Optimization
  • Topological Optimization
  • Compound Index Calculation
  • Wetness Index
  • Stream Power Index
  • Sediment Transport Index
  • Statistics
    • Horton statistics
    • Aggregate statistics
    • Cumulative hypsometric curve
    • Class coverage statistics

Additional Resources

For additional assistance, a beginner User Guide for ILWIS can be obtained at the 52 North Website

Additional information on ILWIS operations can be found in this ILWIS Operations Appendices

Conclusion

This tutorial showed the steps required to run some hydrological analyses using a DEM in ILWIS software. QGIS was used to reproject the DEM, and ILWIS software was used to run the hydrological analysis on the Lake Okanagan region. This tutorial should allow for basic hydrological analysis using ILWIS and a DEM of the study region. For a more in-depth analysis look into the topics not covered in this tutorial.

References

ILWIS Software http://52north.org/communities/ilwis

Natural Resources CanadaGeospatial Data Extraction Tool