Fragscape V2.03: User Guide
Fragscape V2.03: User Guide
03
User Guide
17/4/2020
1 Overview 3
1.1 Landscape fragmentation metrics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1.1 Landscape division . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1.2 Splitting index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1.3 Effective mesh size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1.4 Cross-Boundary Connection (CBC) method . . . . . . . . . . . . . . . . . . . . . . 4
1.2 Computation methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2.1 Vector mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2.2 Raster mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.4 Graphical User Interface (GUI) overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2 Steps 6
2.1 Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2 Land cover . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.3 Additional data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.4 Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3 Example 10
4 To go further... 11
4.1 Execution time and memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.1.1 Vector mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.1.2 Raster mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.2 Algorithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.3 Results comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.4 Configuration file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5 FAQ 13
5.1 Error messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Bibliography 13
The degree of coherence (C or COH), an auxiliary measure, is defined as the probability that two points
chosen randomly in a region are connected (e.g. not separated by fragmentation elements such as roads
or urban areas):
The degree of landscape division (D or DIV I) is defined as the probability that two points chosen ran-
domly in a region are not connected:
∑n
Ai
C= ( )² D =1−C
A t
i=1
The splitting index (S or SP LI) is defined as the number of patches one gets when dividing the total re-
gion into parts of equal size (meshes) in such a way that this new configuration leads to the same degree
of fragmentation of initial configuration:
A2
S = ∑n t 2
i=1 Ai
It can be interpreted as the effective mesh number of a grid with a constant mesh size dividing the region
into S patches which all have the size At /S.
The effective mesh size (m or M SIZ) denotes the size of the areas when the region is divided into S
areas (each of the same size At/S) with the same degree of landscape division as for the initial configu-
ration:
1 ∑ 2
n
At
m= = Ai
S At
i=1
Splitting density (s or SDEN ) is defined as the number of meshes per unit area. Net product (N or
N P RO) is defined as the product of the effective mesh size and the total area of the region:
S At 1 ∑n
s= = ∑n 2 = N = m.A t = A2i
At A
i=1 i m
i=1
17/4/2020 FragScape v2.03 - User manual 3/ 14
1.1.4 Cross-Boundary Connection (CBC) method
As other patch-based landscape metrics, above metrics can be biased by the boundaries and the extent
of a reporting unit if the boundaries fragment patches. This issue is called the ”boundary problem” and
has been addressed in paper ”Modification of the effective mesh size for measuring landscape fragmen-
tation to solve the boundary problem” (Moser et al. 2007).
New method called cross-boundary connections (CBC) includes area outside boundaries. The complete
area of a patch, regardless of boundaries, is denoted by Acmpl
i . The formula of effective mesh size ac-
cording to CBC method (mCBC or CBC_M SIZ) is:
1 ∑
n
mCBC = Ai .Acmpl
i
At
i=1
In CBC mode, only 2 metrics are defined : effective mesh size and net product
In vector mode, features are selected from land cover layer and dissolved (one feature of type Multi-
Polygon).
It is then possible to integrate additional data such as roads network, hydrographic network, or any miss-
ing data in initial layer. For each data source, features can be selected (paved roads for instance) and a
buffer can be applied to modelize footprint for linear data. These selections are then merged with land
cover, by union or difference depending on their contribution to fragmentation or to natural areas. Re-
sulting layer is then dissolved and casted to single geometry (Polygon) to finally get a correct patch layer
for metrics computation.
In raster mode, input data can be vector or raster but output layers are in raster format anycase (raster-
ization and reprojection according to extent and resolution parameters).
Resolution value is very important because it defines computation precision but also random-access
memory (RAM) needed. If land cover is already in raster format, resolution shall be the same than land
cover layer.
Land cover layer is reclassified: 1 for natural areas (selected classes), 0 for fragmentation data
(unchecked classes). Additional data is reprojected and classified same way. Resulting layers are then
merged according to specified ranking order in graphical user interface.
Encart 2 : Prerequisites
• go to Extension menu
• open Install/Manage extensions dialog
• go to Parameters tab and check that Show experimental plugins option is checked
• go back to All tab, search for FragScape, select it and click on Install plugin button
2 STEPS
FragScape defines a 4 step procedure from raw data to computed metrics.
2.1 PARAMETERS
First step is to define global parameters used for current FragScape project.
Workspace must be set before any processing as it defines FragScape outputs path. Output file of each
step is stored in Workspace/outputs. Be careful when setting workspace as existing file can be overriden.
Mode defines processing chain executed to compute metrics (cf section 1.2). In raster mode, Resolution
must be set to define pixel size in georeferenced unit (meter for a metric projection).
Extent layer defines data extent: data are clipped at layer limits. Optional in vector mode. In CBC
mode, data extent must be larger than study area.
Projection is a projected coordinate reference system that must be set according to data geographic
extent. It defines entities shape and area.
If option Save intermediate layers is checked, intermediate layers are stored in Workspace/tmp.
Otherwise, they are stored in QGIS processing temporary directory (path is displayed in log when a layer
is created).
Once all data selections saved, user should rank lines (for instance wildlife corridors on top of roads) and
then press Integrate additional data button.
For each line, data is selected, buffer is applied (if defined) and layer is rasterized in raster mode. Output
layers are then merged and integrated to result of previous step.
Final layer is loaded in QGIS and stored and savec in output directory (landuseF ragmSingleGeom.gpkg
in vector mode, landuseF ragm.tif in raster mode).
Figure 4 shows results step interface. Once metrics are computed, output layer is loaded in QGIS and
global effective mesh size (on the whole territory) is displayed. Output layer contains an attribute for
each metric defined in section 1.1 and new fields:
FIGURE 5: FragScape use case : from raw data to effective mesh size
In vector mode, execution time can be very long depending on study area extent and geometric preci-
sion. Given execution times are indicative values.
Figure 6 show the evolution of execution time according to region extent (small region, big region, coun-
try) from Corine Land Cover (vector data):
Figure 7 show the execution time according to data source geometric precision (Corine Land Cover vs
OCcupation du Sol Grande Échelle) on a same territory (Hérault):
If execution time is too long, user can switch to raster mode which is much faster but leads to a loss of
geometric precision depending on resolution.
In raster mode, critical resource is the available live memory (RAM). RAM needs depends on the amount
of data (number of pixels) that is directly linked to tuple (extent, resolution). If a memory error
occurs, user can change resolution and try to relaunch computation.
4.2 ALGORITHMS
Algorithms (available in QGIS processing toolbox) implement specific treatments developped for
FragScape. Figure 8 shows available algorithms. Groups Raster et Vector gather steps described in
section 2.
• Integrates vector data to land cover : applies geometric difference/union between natu-
ral areas layer and additional data in vector mode
• Prepare land cover data : selection of natural areas from land cover layer in vector mode
• Vector Effective Mesh Size (Global) : computes fragmentation metrics in vector mode on
the whole territory (features are dissolved if needed)
• Vector Effective Mesh Size per feature : computes fragmentation metrics in vector mode
for each feature of reporting layer
In Landuse tag, one can see attributes such as in_layer (input layer), select_mode (0 meaning selection
mode By field values) and select_field (selection field of input layer is CODE_12). For each loaded field
value, a LanduseFieldItem tag exists and contains same attributes as in FragScape (value, description, toS-
elect).
5 FAQ
• Fields are not loaded in field/expression widget , why ? If they don’t appear, it is because asso-
ciated layer is not loaded even if its path is displayed in combo box. Select another layer and then
re-select initial layer.
• Which method should I use, CUT or CBC ? CBC method has been designed to address bound-
ary problem and then should be used. CUT method is available to allow comparison with already
computed results, or in case boundaries are not a problem.
• Elements of fragmentation are already included in my land cover layer, should I run step 3 ? In
FragScape 2.0, it is possible to specify step 4 input layer so taht step 3 is optional.
• Can I apply FragScape processing to layer not produced by FragScape ? To apply FragScape specific
processing to specific data, one can use FragScape algorithms described in section 4.2.