prioCellThresholdGRASS: Prioritization based on thresholds of several layers

Description Usage Arguments Details Value Author(s)

Description

Prioritization based on thresholds of several layers

Usage

1
2
3
  prioCellThresholdGRASS(input, output, layerWeights,
    threshold, weight, keepTmpLayers = FALSE, overwrite =
    FALSE)

Arguments

input

name of layer in GRASScontaining input values - has to be the same length as layerWeights

output

name of output layers containing the priority values

layerWeights

weights for each input layer - has to be the same length as input

threshold

value above which layer will be prioritized

weight

final weight of the resulting prioritization. All values will be multiplied by this value

keepTmpLayers

if TRUE, temporal layers will be kept

overwrite

if TRUE, the output layer will be overwritten

Details

Threshold prioritization based on different layers. The final priority value for each cell is based on if the cell is in each layer above or below the threshold.

For each input layer, a temporary layer is created with the name tmp_input\[i\] which is the layerWeight\[i\] if the value of input\[i\] is below threshold, otherwise it is 0.

These temporary layers will not be deleted if keepTemporaryLayers is TRUE.

In a final step, all temporarty layers tmp_input\[i\] will be added up and saved in output.

Value

invisibly returns output layer name

Author(s)

Dr Rainer M Krug Rainer@krugs.de


rkrug/prioritization documentation built on July 6, 2019, 4:37 p.m.