Calculate the Topographic Wetness Index in QGIS

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ธ.ค. 2024

ความคิดเห็น • 58

  • @HansvanderKwast
    @HansvanderKwast  5 ปีที่แล้ว +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 ปีที่แล้ว +3

      @@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 ปีที่แล้ว +1

      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

  • @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?

  • @Mp3Robbo
    @Mp3Robbo 3 ปีที่แล้ว

    This is good, do you know of a way to easily do this stochastically?

  • @RobertaFacchinetti
    @RobertaFacchinetti ปีที่แล้ว

    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?

    • @RobertaFacchinetti
      @RobertaFacchinetti ปีที่แล้ว

      Or is it the "contributing area" calculated by the flow accumulation, already an SCA?

  • @schrockandroll
    @schrockandroll 4 ปีที่แล้ว +1

    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  4 ปีที่แล้ว

      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 ปีที่แล้ว +1

      @@hvzxjgqnqmz Did you try Wang & Liu XXL? That's for big DEMs.

  • @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  4 ปีที่แล้ว

      ocw.un-ihe.org/course/view.php?id=11§ion=10

  • @carolinesrensen4080
    @carolinesrensen4080 4 ปีที่แล้ว +1

    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?

  • @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 ปีที่แล้ว +1

      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.

  • @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  ปีที่แล้ว +3

      Check this video for the definition of DEM, DSM and DTM: th-cam.com/video/pnAdasqHxGk/w-d-xo.html. 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.

  • @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 ปีที่แล้ว +1

      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.

  •  4 ปีที่แล้ว

    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  4 ปีที่แล้ว +2

      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§ion=10

    • @sadiemoland2157
      @sadiemoland2157 3 ปีที่แล้ว

      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!

  • @RK-kv3yo
    @RK-kv3yo 5 ปีที่แล้ว

    Dear Hans van der Kwast
    how can I create DTM as shown in this video?

    • @HansvanderKwast
      @HansvanderKwast  5 ปีที่แล้ว +1

      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 ปีที่แล้ว +4

      @@spaciandd Yes, both DEM and DTM are bare-earth elevation models (often used synonymously).

  • @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 ปีที่แล้ว +1

      The mistakes are discussed in the comments.

  • @Ashrumochan
    @Ashrumochan 3 ปีที่แล้ว

    Best for hydrology