-
Notifications
You must be signed in to change notification settings - Fork 9
Starting
Open GRASS GIS and load or create your project location. If you do not know how to configure a project in GRASS, take a look here. After that, you should import your raster maps into GRASS environment. Have a look at this and this.
distances are measured in meters, so that areas and distances are calculated in a meaningful way.**
To make your life easier, we make available a GRASS db test file with two raster images. Select the file grassdb_test and Start GRASS session as follows
Now, it is time to use the app itself. Use the GRASS terminal (the black screen) to start LSMetrics. First change to LSMetrics directory and run it using python:
# Change to the code directory where you saved the program
cd "LS_METRICS/_LSMetrics_v1_0_0"
# Run LSMetrics
python LSMetrics_v1_0_0.py
On MS Windows, you may have to change to the partition where the code is located before changing to its directory. E.g.:
D:
cd "D:/LS_METRICS/_LSMetrics_v1_0_0"
Take a look at the Ubuntu GUI
Now take a look at the Windows GUI
LSMetrics is currently based on binary (habitat/non-habitat) maps. If your maps are already classified this way,
you can use them straightforwardly as input to calculate metrics and statistics. If not, first you should select Create binary map
and tell the app which codes correspond to habitat. Then, you can use the resulting map as input to calculate landscape metrics.