Watershed Module: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


[[File:Watershed_Overlay.png|thumb|left|Rainfall overlay, part of the water module]]  
[[File:Watershed_Overlay.png|thumb|left|Rainfall overlay, part of the water module]]  
Our watershed algorithm is used for identifying the watershed areas for predefined waterways. More generally, one is interested into which waterway a set of rain drops will end up based on the terrain elevation and the starting location of the drops.  
The watershed module provides the solution for the following question:
''I want to know into which waterway a set of rain drops will end up based on the terrain elevation and the starting location of the drops.''
The locations of the drops that all end up in the same waterway can be grouped together to form a region called the watershed.  


Since we support the calculation of rainfall using our water module and can generate water flow direction results, we have altered the watershed algorithm to use the flow direction instead of the terrain elevation as input. Given that the rainfall used is adequately large, it helps us reducing the amount of local minima and hopefully generate more realistic results based on rainfall simulation.
Historically, the calculation of watersheds was mostly done based on the gradient of the terrain. However, when the terrain is near flat, it is not known where the rain water will flow and the direction will be assigned arbitrarily based on the used algorithm. Secondly, the terrain often contains many local minimas, which results in the creation of too many unique watersheds (oversegmentation). To solve this, one would often apply filters on the terrain to remove these local minimas, but this required a lot of user judgement.
 
Fortunately, instead of using only the gradient of the terrain directly, we can also simulate rainfall using our [[Rainfall (Overlay)]] and use the Average Direction result to have a better idea of where the rain drops will end up based on momentum. Given that the rainfall is sufficiently large, this will remove local minima and solve most issues of unknown flow direction on flat surfaces.

Revision as of 09:03, 10 June 2020


Rainfall overlay, part of the water module

The watershed module provides the solution for the following question: I want to know into which waterway a set of rain drops will end up based on the terrain elevation and the starting location of the drops. The locations of the drops that all end up in the same waterway can be grouped together to form a region called the watershed.

Historically, the calculation of watersheds was mostly done based on the gradient of the terrain. However, when the terrain is near flat, it is not known where the rain water will flow and the direction will be assigned arbitrarily based on the used algorithm. Secondly, the terrain often contains many local minimas, which results in the creation of too many unique watersheds (oversegmentation). To solve this, one would often apply filters on the terrain to remove these local minimas, but this required a lot of user judgement.

Fortunately, instead of using only the gradient of the terrain directly, we can also simulate rainfall using our Rainfall (Overlay) and use the Average Direction result to have a better idea of where the rain drops will end up based on momentum. Given that the rainfall is sufficiently large, this will remove local minima and solve most issues of unknown flow direction on flat surfaces.