Calculate the Topographic Wetness Index in QGIS

  Рет қаралды 19,566

Hans van der Kwast

Hans van der Kwast

4 жыл бұрын

This video shows how to calculate the Topographic Wetness Index (TWI) from a DTM using QGIS.
You can use this procedure for catchments, subcatchments or parcels.
This video is part of IHE Delft OpenCourseWare. More free materials are available at www.gisopencourseware.org
For an overview of our GIS courses and info on tailor made trainings and advise see our folder: www.un-ihe.org/sites/default/...
More information about the book "QGIS for Hydrological Applications - Recipes for Catchment Hydrology and Water Management" by Kurt Menke and Hans van der Kwast can be found at the website of Locate Press: www.locatepress.com/hyd
IHE Delft and Nieuwland Geoinformatie offer an online course. It includes support from experienced trainers and you'll get the official QGIS certificate after completion. More info at: www.learning-gis.com
Subscribe to the KZbin Channel for updates!

Пікірлер: 58
@HansvanderKwast
@HansvanderKwast 4 жыл бұрын
The last equation contains an error. The upslope area is calculated by the SAGA tool in pixels. So it needs to be multiplied by the area of the pixels. In this case 5 x 5. Also maybe not to clear why we have to modify the slope map. Because we take the natural logarithm, we can't have 0 or negative slopes. We make those cells 1, because ln(1) results in 0.
@hannahwhite9249
@hannahwhite9249 4 жыл бұрын
Why do you add one? Would the corrected equation be.... ln(upslope_area + 1 * 5*5) / tan(slope_radians) ?
@HansvanderKwast
@HansvanderKwast 4 жыл бұрын
@@hannahwhite9249 The one is not needed. So the correct equation is ln((upslope_area * 5 * 5) / tan (slope_radians))
@maggienguyen8676
@maggienguyen8676 2 жыл бұрын
hello. how can I determine the area of a pixel?
@HansvanderKwast
@HansvanderKwast 2 жыл бұрын
In the Layer properties you can find the cell size as length in x direction and length in y direction. If you multiply them you have the area.
@maggienguyen8676
@maggienguyen8676 2 жыл бұрын
@@HansvanderKwast Thank you so much for your reply. I cannot add the image of my layer property. Is this true that the "Pixel size" in the "Information" of the "Layer Properties" is the area of a pixel? Because in my case it is 30, -30. I am confused about the negative value. I hope to receive your feedback
@Ashrumochan
@Ashrumochan 2 жыл бұрын
Best for hydrology
@Mp3Robbo
@Mp3Robbo 2 жыл бұрын
This is good, do you know of a way to easily do this stochastically?
@johnmaskell5124
@johnmaskell5124 Жыл бұрын
Does the pixel area have to be in metres squared or can it be kept in degrees? Is it best to reproject the DEM so that it is metres?
@user-xl7yb6dl2x
@user-xl7yb6dl2x 10 ай бұрын
Hi! Thanks for this video. But the upslope area to be used is the total catchment area multiplied by the area of the pixel or the specific catchment area?
@user-xl7yb6dl2x
@user-xl7yb6dl2x 10 ай бұрын
Or is it the "contributing area" calculated by the flow accumulation, already an SCA?
@schrockandroll
@schrockandroll 3 жыл бұрын
Hi Hans, I successfully made a TWI map of my study area, and have since done a series of 120 cm deep soil core observations. In hilly areas the TWI corresponded quite well with soil wettness of my field observations, but in the flat areas I observed much wetter soils than the TWI model predicted. Is there a better model for predicting wetlands in flat terrain?
@HansvanderKwast
@HansvanderKwast 3 жыл бұрын
TWI is indeed not suitable to detect wetlands on plateaus, because it only takes into account the contributing area and the slope. I don't think there are specific indices for those cases, but you can create an empirical model when you know the conditions that these wetlands exist, for example by adding data on permeability.
@RK-kv3yo
@RK-kv3yo 4 жыл бұрын
Dear Hans, Coukd you please guide me how to calculate TWI with SRTM filled void? There is no DTM for the area I want to calculate it. Thanks 🙏
@HansvanderKwast
@HansvanderKwast 3 жыл бұрын
ocw.un-ihe.org/course/view.php?id=11&section=10
@omarabdelwahab3722
@omarabdelwahab3722 4 жыл бұрын
Hi, Why did you use the DTM for calculating the Slope instead of filling sinks and using the filled DTM?
@HansvanderKwast
@HansvanderKwast 4 жыл бұрын
This was a filled DTM, but filling was not part of the video. The scope was to show the TWI calculation. Filling is in another video.
3 жыл бұрын
Hi Hans, thanks for sharing this methodology. Following your approach, I am getting a TWI with negative values. Before I made those slope values of 0 equal to 1 so I tried to avoid the issue with natural logarithm. Do you have any comment on this? I would appreciate it!!!
@HansvanderKwast
@HansvanderKwast 3 жыл бұрын
Hi Cristo. Not sure why you get negative values. The detailed steps are in the new tutorial on this page: ocw.un-ihe.org/course/view.php?id=11&section=10
@sadiemoland2157
@sadiemoland2157 2 жыл бұрын
Hey I also got negative values! I know your comment is from a year ago, but did you ever figure out why you got this result? Thanks!
@schrockandroll
@schrockandroll 3 жыл бұрын
Hi Hans, great video. I'm having trouble with the Flow Accumulation (qm of esp) tool in QGIS. If I use the option "fill sinks," temporarily or permanently, the operation never finishes. It just adds "(not responding)" to the top of the tool. Is fill sinks really necessary?
@HansvanderKwast
@HansvanderKwast 3 жыл бұрын
Fills sinks gives problems in the following cases: 1. DEM too flat 2. DEM too large for memory 3. Geographic Coordinate System used instead of projection. 4. Spaces in folder and file names Fill sinks is necessary in hydrological analysis, otherwise water gets trapped in artificial sinks and will not flow to the outlet of the catchment.
@hvzxjgqnqmz
@hvzxjgqnqmz 3 жыл бұрын
@@HansvanderKwast Can you reccomend another tool for filling sinks? I also have problems with this tool working with big DEMs
@HansvanderKwast
@HansvanderKwast 3 жыл бұрын
@@hvzxjgqnqmz Did you try Wang & Liu XXL? That's for big DEMs.
@Ga3rich
@Ga3rich Жыл бұрын
Hello! I wanted to ask why you do that from the DTM and not the DEM. Would it work if we start with DEM data? Secondly, when I created the upslope area. It is created in another coordinate system. So the results are sent to the middle of nothing. Instead of the place where my study area is.
@HansvanderKwast
@HansvanderKwast Жыл бұрын
Check this video for the definition of DEM, DSM and DTM: kzbin.info/www/bejne/pp-klZSppq2rfc0. A DEM is the general term. DTM is when the objects (human and natural) are removed and we only have the elevation of the terrain. For the algorithm it doesn't matter what you use, but if you use a DSM, the objects will be interfering with the general drainage. If your upslope area is in another projection, you need to reproject it to the same as the other layers in the project. With raster calculations also all rasters need to be alligned, using the Allign rasters tool.
@RK-kv3yo
@RK-kv3yo 4 жыл бұрын
Dear Hans van der Kwast how can I create DTM as shown in this video?
@HansvanderKwast
@HansvanderKwast 4 жыл бұрын
This DTM was created with special equipment (LIDAR) on the ground, it's not possible to get this as open data for the whole world. If you have LIDAR, you need to interpolate the point cloud to create a DTM like this.
@spaciandd
@spaciandd 4 жыл бұрын
@@HansvanderKwast Can we use DEM instead of DEM ?
@hannahwhite9249
@hannahwhite9249 4 жыл бұрын
@@spaciandd Yes, both DEM and DTM are bare-earth elevation models (often used synonymously).
@carolinesrensen4080
@carolinesrensen4080 4 жыл бұрын
I can't seem to make the flow acumulation, QGIS shuts down everytime. Can you help with this?
@HansvanderKwast
@HansvanderKwast 4 жыл бұрын
Hi. Which version are you using? Is your DEM projected? Which projection?
@carolinesrensen4080
@carolinesrensen4080 4 жыл бұрын
@@HansvanderKwast Version of QGIS? 3.10.3 When I look at the properties, it says it's projected, "EPSG:25832 - ETRS89 / UTM zone 32N - Projected"
@HansvanderKwast
@HansvanderKwast 4 жыл бұрын
That seems to be okay. Can you please check if file or folder names have spaces or special characters. That is also often a problem. Which operating system are you using?
@carolinesrensen4080
@carolinesrensen4080 4 жыл бұрын
@@HansvanderKwast the path to the file is: C:\Qgis\Bachelor\DTM_.tif so there are no spaces or different letters. I use windows 8, would that have any effect?
@HansvanderKwast
@HansvanderKwast 4 жыл бұрын
Still looks okay. Can you e-mail me screenshots of the dialogue screens before it crashes?
@giang2u
@giang2u 4 жыл бұрын
I thought you might have a mistake when writing the formula for calculation (at least at the last step)
@HansvanderKwast
@HansvanderKwast 4 жыл бұрын
The mistakes are discussed in the comments.
Calculate Basin Length in QGIS
6:42
Hans van der Kwast
Рет қаралды 6 М.
Make quick inundation maps in QGIS using Open Data
16:33
Hans van der Kwast
Рет қаралды 33 М.
Nastya and SeanDoesMagic
00:16
Nastya
Рет қаралды 43 МЛН
Советы на всё лето 4 @postworkllc
00:23
История одного вокалиста
Рет қаралды 4,5 МЛН
Stay on your way 🛤️✨
00:34
A4
Рет қаралды 26 МЛН
Sigma Kid Hair #funny #sigma #comedy
00:33
CRAZY GREAPA
Рет қаралды 41 МЛН
Hydrology in ArcGIS Pro, Lab Exercise 10:  The Topographic Wetness Index (TWI)
14:02
Jenness Enterprises: Adventures in GIS
Рет қаралды 2,3 М.
Calculate volumes from a DEM in QGIS
8:29
Hans van der Kwast
Рет қаралды 25 М.
Calculate NDVI from Sentinel 2 and reclassify in QGIS
10:07
Hans van der Kwast
Рет қаралды 36 М.
Calculate percentage of land use per subcatchment in QGIS 3
17:39
Hans van der Kwast
Рет қаралды 65 М.
Styling of streams, catchment and flow direction in QGIS
11:42
Hans van der Kwast
Рет қаралды 20 М.
How to calculate Topographic wetness index using ArcGIS
8:29
Made 4 Geek
Рет қаралды 31 М.
Digital Elevation Models in GIS (theory) - updated
11:57
Hans van der Kwast
Рет қаралды 37 М.
Map Projections EPSG: 3857 & 4326 | web mapping basics
6:28
MapTiler
Рет қаралды 3,6 М.
Geomorphons
10:40
Thomas Pingel
Рет қаралды 2,3 М.
Nastya and SeanDoesMagic
00:16
Nastya
Рет қаралды 43 МЛН