-
Notifications
You must be signed in to change notification settings - Fork 12
Inputs
LSCorridors need two raster maps as input files: a resistance surface map and a map of patches that will be connected (source-target map, or simply ST map). These maps may be prepared outside GRASS (using other GIS softwares, for example).
The former may be a result of a reclassification of a land use map using expert knowledge, a species distribution model output, or the result of the analysis of movement or gene flow for an organism, for instance. They can represent the difficulty of organisms to cross (or the mortality probability in) different habitats.
In the latter map, pixels of the same patch must be identified with a number without repetition. Although not necessary, another file that could be useful (and that may be imported into LSCorridors) is a list with the patches identification numbers (ID) that one wants to connect. Pixels not belonging to any patch must be assigned the NULL value.
The user may find two sets of resistance and ST maps in the demonstration maps database folder of the repository. For the first one, there is also a list of patches to be connected by corridors.
There are two ways to selected the resistance map before running simulations: 1) selecting it in a specific folder using the button Resistance Map
and importing it using the button IMPORT FILES
; 2) if the user has already imported the map to the GRASS database (look here and here to learn how to do that]) the map can be selected in the “Resistance” field.
As an illustrative example, we will use the first option. Click in the select files
button beside the “Resistance Map” and inside the folder DB_demo
select the file Resistance_map1.img
. In the LSCorridors display the selected map name will be shown.
!!!!!!!!!!!!!!!! FIGURA MOSTRANDO ISSO
As well as for the resistance map, there are two ways of selecting habitat patch map: 1) selecting the raster file in a specific folder in Source-Target Map
button and importing it using IMPORT FILES
button; 2) if the user has already imported the map to the GRASS database it can be selected in the ST
field.
As an illustrative example, we will use the first option. Click in the select files
button besides the Source-Target Map
and selected the ST_map1.img
inside the DB_demo
folder. The selected map will also appear in the LSCorridors display.
After selected both Resistance and ST maps click in “IMPORT FILES” button: in the LSCorridors display it will appear the message “Importing rasters…”.
!!!!!!!!!!!!!!!! FIGURAS MOSTRANDO ISSO
The following step is to define which combinations of patches the user wants to connect by simulated ecological corridors. There are also two ways to insert the list of Source-Target patches that will be connected: 1) manually, inserting the patch ID list in the “Enter a list manually” field; 2) selecting a .txt
file with “READ LIST TXT” button. In both cases, the patch IDs must be separate by comma and all patches must have a subsequent pair, which means that the list must have an even number of patches. For example, the list 1,2,5,7
will set LSCorridors to connect patches 1 and 2 first, and 5 and 7 after that.
As example, we will use the second option: click in “READ LIST TXT” button and select the “ST_list1.txt” file in the DB_demo
folder. LSCorridors display it show the message “TXT Combinations” with the patch IDs.
Still, if the user wants to generate corridors among all fragmented present in the habitat patches (ST) map, it is necessary to click “COMBINE ALL” button, but note that if the number of patches in the ST map is too extensive it may cause an excessive delay in the corridors processing.