Difference between revisions of "Exploring Hydrological Analyses using ILWIS"

From CUOSGwiki
Jump to navigationJump to search
Line 35: Line 35:
 
:1) Click Operations --> Import/Export --> GDAL (Geospatial Data Abstraction Library)
 
:1) Click Operations --> Import/Export --> GDAL (Geospatial Data Abstraction Library)
   
[[File:ImportDEM_1.png|700px]]
+
[[File:ImportDEM_1.png|800px]]
   
 
''Figure 2 - Finding the import tool in ILWIS''
 
''Figure 2 - Finding the import tool in ILWIS''
Line 63: Line 63:
 
::* The raster map you have imported will open
 
::* The raster map you have imported will open
   
[[File:OpenMap_2.png|700px]]
+
[[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''

Revision as of 19:59, 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 in QGIS

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) Operations -> Flow Determination -> Flow Direction

ILWIS Flow Direction Path.png Figure 12 - Path to Flow Direction

ILWIS Flow Direction Window.png Figure 13 - Flow Direction window

2) Input the Fill DEM

3) Choose a flow direction method

4) Click Show

5) The Flow Direction map will save in the working folder and open in a new window

ILWIS Flow Direction Map.png Figure 14 - 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 direciton.

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

1) Operations -> Flow Determination -> Flow Accumulation

ILWIS Flow Accumulation path.png Figure 15 - Path to find Flow Accumulation function

ILWIS Flow Accumulation winodw.png Figure 16 - Flow Accumulation window

2) Input Flow Direction Map and name the output Flow Accumulation map

3) Click Show

ILWIS Flow Accumulation Map.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 tool ILWIS zoom tool.png you can see more defined stream networks (Figure 18).
  • Legend values can be seen by expanding the menu on the left of the map int the map window

Zoomed in flow ILWIS flow accumulation.png Figure 18 - Zoomed in view of a 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) DEM hydro-processing -> Network and Catchment Extraction -> Drainage Network Extraction

Drainage network extraction path.png Figure 19 - Path to find Network Extraction operation

Drainage Network Window ILWIS.png 'Figure 20 - Drainage Network Extraction window

2) Input Flow Accumulation map

3) Determine desired threshold value

4) Name the Drainage Network

5) Click Show

6) New Drainage Network map with all streams that meet the threshold value will open

Drainage Network Extraction Map ILWIS.png Figure 21 - Drainage Network map of Lake Okanagan region

Drainage Network Extraction Map ZOOM ILWIS.png Figure 22 - 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) Operations->DEM hydro-processing -> Compound Paramter Extraction -> Overland Flow Length

2) Flow Length to Oultet window will open

Flow length to outlet ILWIS window.png Figure 26 - Flow length to outlet window

3) Input Drainage Network Ordering map that was previously created

4) Input Flow Direction map that was previously created

5) Name output map

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