fragmentation.clustering
Foreground area clustering (FAC) in a moving window, as GuidosToolbox (SpatCon's rule 76): the share (%) of the edges in the window with data that join foreground to foreground; 101 background, 102 missing. The foreground is the classes given, or the map is coded 0 missing, 1 background, 2 foreground.
| Input | Type | What it is |
maprequired | map | the map |
| Output | Type | What it is |
map | map | the clustering (%), GTB's codes off the foreground |
| Setting | Type | What it is |
foreground | any | the foreground's classes (a class or a list) |
window | integer | the window's side in cells, odd (default 7) |
fragmentation.contagion
Contagion (Pff) in a moving window, as GuidosToolbox (SpatCon's rule 77): the share (%) of the foreground's edges in the window that join foreground to foreground; 101 background, 102 missing. The foreground is the classes given, or the map is coded 0 missing, 1 background, 2 foreground.
| Input | Type | What it is |
maprequired | map | the map |
| Output | Type | What it is |
map | map | the contagion (%), GTB's codes off the foreground |
| Setting | Type | What it is |
foreground | any | the foreground's classes (a class or a list) |
window | integer | the window's side in cells, odd (default 7) |
fragmentation.entropy
Spatial joint entropy of the whole map, as GuidosToolbox: how mixed the pairs of neighbouring cells are, in % of the most they could be (0 one class, 100 as mixed as can be). The foreground is the classes given, or the map is coded 0 missing, 1 background, 2 foreground.
| Input | Type | What it is |
maprequired | map | the map |
| Output | Type | What it is |
index | number | the entropy (%) |
pairs | table | the code of each kind of pair of neighbours and its count |
| Setting | Type | What it is |
foreground | any | the foreground's classes (a class or a list) |
fragmentation.entropy_map
Spatial joint entropy in a moving window, as GuidosToolbox's batch: for each cell the entropy (%) of the pairs of neighbours in the window around it. The foreground is the classes given, or the map is coded 0 missing, 1 background, 2 foreground.
| Input | Type | What it is |
maprequired | map | the map |
| Output | Type | What it is |
map | map | the entropy (%) around each cell |
| Setting | Type | What it is |
foreground | any | the foreground's classes (a class or a list) |
window | integer | the window's side in cells, 3 or more (default 50) |
fragmentation.fad
Forest Area Density, as GuidosToolbox computes it: the share (%) of foreground in a square window around each foreground cell, and its classes: rare (<10%), patchy, transitional, dominant, interior (90-100%) and intact (100%). The foreground is the classes given, or the map is coded 0 missing, 1 background, 2 foreground, 3 and 4 special backgrounds (the second not fragmenting).
| Input | Type | What it is |
maprequired | map | the map |
| Output | Type | What it is |
map | map | the density (%), GTB's codes off the foreground |
classes | map | the classes 1 (rare) to 6 (intact), GTB's codes elsewhere |
stats | table | the window, the % of the foreground in each class and the average density |
| Setting | Type | What it is |
foreground | any | the foreground's classes (a class or a list) |
window | integer | the window's side in cells, odd (default 7) |
fragmentation.fad_multiscale
Forest Area Density at several observation scales, as GuidosToolbox's FAD-MS: the density (%) in windows of 7, 13, 27, 81 and 243 cells (or those given) and their average, with its classes. The foreground is the classes given, or the map is coded 0 missing, 1 background, 2 foreground, 3 and 4 special backgrounds.
| Input | Type | What it is |
maprequired | map | the map |
| Output | Type | What it is |
map | map | the average density over the windows (%), GTB's codes elsewhere |
classes | map | the average's classes 1 (rare) to 6 (intact) |
scales | stack | the density at each window, by its side |
stats | table | per window (0 for the average): the % of the foreground in each class, the average density and AVCON (the average over the area with data) |
| Setting | Type | What it is |
foreground | any | the foreground's classes (a class or a list) |
windows | any | the windows' sides in cells, odd (default 7 13 27 81 243) |
fragmentation.fos
Fragmentation at a Fixed Observation Scale, as GuidosToolbox's FOS: for each foreground cell the connectivity (%) of the foreground in a square window, by FAD (the foreground's share), FED (its edges: GraySpatCon's clustering) or FAC (foreground-foreground pairs, binary maps only), reported in 5 or 6 classes. The map is binary (the foreground's classes given, or coded 0 missing, 1 background, 2 foreground, 3 and 4 special backgrounds) or a % cover (0-100, 255 missing, 103 and 104 special backgrounds) whose foreground is the cover from a threshold up.
| Input | Type | What it is |
maprequired | map | the map |
| Output | Type | What it is |
map | map | the connectivity (%), GTB's codes off the foreground |
stats | table | per class (1 rare .. 6 intact): the % of the foreground |
summary | table | GTB's report: the average connectivity, AVCON, the foreground and its patches, ECA and coherence |
report | text | GTB's report (fos.txt) |
| Setting | Type | What it is |
foreground | any | the foreground's classes (a class or a list) |
window | integer | the window's side in cells, odd (default 27) |
method | text | FAD (default), FED or FAC |
classes | integer | 5 or 6 (default: intact apart from interior) |
connectivity | integer | of the patches: 8 (default) or 4 |
grayscale | bool | a % cover (default: when its largest value passes 4) |
gray_threshold | integer | a % cover's foreground: from this up (default 30) |
pixel_resolution | number | the report's cell size in metres (25) |
fragmentation.gray_convolution
A moving window over a % cover (0-100; above 100 or without a value missing), as GuidosToolbox's GraySpatCon: the mean, median, majority, min, max, range, standard deviation (stddev), Shannon's diversity or evenness, or diagonal contagion of the cover around each cell.
| Input | Type | What it is |
maprequired | map | the cover (%) |
| Output | Type | What it is |
map | map | the metric around each cell |
| Setting | Type | What it is |
metric | text | mean, median, majority, min, max, range, stddev, shannon_diversity, shannon_evenness, diagonal_contagion (default mean) |
window | integer | the window's side in cells, odd (default 7) |
mask_missing | bool | no value where the cover is missing (default true) |
fragmentation.landscape_mosaic
The landscape mosaic, as GuidosToolbox (SpatCon's rule 7): for each cell the mix of agriculture, natural land and developed land in a moving window, in 19 classes (dominant, pairs, mosaics, pure) or 103. The map is coded 0 missing, 1 agriculture, 2 natural, 3 developed, or the classes of each are given (the others missing).
| Input | Type | What it is |
maprequired | map | the land cover |
| Output | Type | What it is |
map | map | the mosaic's classes (0 missing) |
stats | table | per class of 103: its cells, % of the cells with data and its class of 19 |
heatmap | table | GTB's heatmap: per class of 103 its share (%, single precision) and class of 19 |
triangle | map | the heatmap on GTB's triangle (12 x 21 cells) |
heatmap_csv | text | GTB's heatmap.csv |
| Setting | Type | What it is |
agriculture | any | the land cover's classes of it (a class or a list) |
natural | any | the land cover's classes of it (a class or a list) |
developed | any | the land cover's classes of it (a class or a list) |
window | integer | the window's side in cells, odd (default 27) |
classes | integer | 19 (default) or 103 |