Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
calc_flow_direction_map [2011/07/24 21:19] 127.0.0.1 external edit |
calc_flow_direction_map [2015/10/13 20:04] (current) admin |
||
---|---|---|---|
Line 7: | Line 7: | ||
===== Inputs ===== | ===== Inputs ===== | ||
- | ^ Name ^ Type ^ Description ^ | + | ^ Name ^ Type ^ Description ^ |
- | | Elevation | [[Map Type | Map]] | Elevation map. The elevation unit is not relevant. | | + | | Elevation | [[Map Type]] | Elevation map. The elevation unit is not relevant. | |
===== Optional Inputs ===== | ===== Optional Inputs ===== | ||
- | ^ Name ^ Type ^ Description ^ Default Value ^ | + | ^ Name ^ Type ^ Description ^ Default Value ^ |
- | | Diagonals Are Longer | [[Bool Type | Bool]] | If true, the flow between diagonal cells is attenuated by the square root of two. | True | | + | | Diagonals Are Longer | [[Boolean Value Type]] | If true, the flow between diagonal cells is attenuated by the square root of two. | True | |
- | | Return All Directions | [[Bool Type | Bool]] | If true, the functor returns the flow directions leaving a cell packed as a bitwise-OR combination of all possible directions. | False | | + | | Return All Directions | [[Boolean Value Type]] | If true, the functor returns the flow directions leaving a cell packed as a bitwise-OR combination of all possible directions. | False | |
- | | Use Lottery | [[Bool Type | Bool]] | If true, the functor chooses randomly between possible directions. This flag only makes sense if the flag "Return All Directions" is false. | False | | + | | Use Lottery | [[Boolean Value Type]] | If true, the functor chooses randomly between possible directions. This flag only makes sense if the flag "Return All Directions" is false. | False | |
- | | Flow Also In Flat Areas | [[Bool Type | Bool]] | If true, this functor also calculates flow direction for flat areas (zero slope cells). It is worth noting that, if a cell has eight neighbors with the same elevation, but at least one has flow direction, the flow will point toward that cell. | True | | + | | Flow Also In Flat Areas | [[Boolean Value Type]] | If true, this functor also calculates flow direction for flat areas (zero slope cells). It is worth noting that, if a cell has eight neighbors with the same elevation, but at least one has flow direction, the flow will point toward that cell. | True | |
- | | Flow Direction Is Sparse | [[Bool Type | Bool]] | If true, the map is loaded as a sparse image. Sparse images have the advantage of storing only the cells containing non-null values, but they have worse access time. | False | | + | | Flow Direction Is Sparse | [[Boolean Value Type]] | If true, the map is loaded as a sparse image. Sparse images have the advantage of storing only the cells containing non-null values, but they have worse access time. | False | |
===== Outputs ===== | ===== Outputs ===== | ||
- | ^ Name ^ Type ^ Description ^ | + | ^ Name ^ Type ^ Description ^ |
- | | Flow Directions | [[Map Type | Map]] | Flow direction map. Every non-null cell from this map contains a value indicating the direction toward the steepest slope (or the bit-wised combination of all possible directions, whether "Return All Directions" is true). | | + | | Flow Directions | [[Map Type]] | Flow direction map. Every non-null cell from this map contains a value indicating the direction toward the steepest slope (or the bit-wised combination of all possible directions, whether "Return All Directions" is true). | |
===== Group ===== | ===== Group ===== |