diff --git a/src/imagery/i.spec.sam/i.spec.sam.html b/src/imagery/i.spec.sam/i.spec.sam.html index 3eece2f2f0..07bea6708f 100644 --- a/src/imagery/i.spec.sam/i.spec.sam.html +++ b/src/imagery/i.spec.sam/i.spec.sam.html @@ -16,7 +16,7 @@

DESCRIPTION

row2: 28.26 34.82 38.27 40.1 38.27 23.7 row3: 10.54 16.35 23.7 38.98 40.1 38.98 - +

EXAMPLES

diff --git a/src/raster/r.boxplot/r.boxplot.html b/src/raster/r.boxplot/r.boxplot.html
index 20f6fd236c..e7fe2ee316 100644
--- a/src/raster/r.boxplot/r.boxplot.html
+++ b/src/raster/r.boxplot/r.boxplot.html
@@ -11,10 +11,10 @@ 

DESCRIPTION

represent the median and interquartile range (IQR) of the input layer. Note that all values of the input raster (within the region's extent) are used to compute the median and IQR. If the zones of the zonal map -cover only part of the region, the user can mask out the non-covered +cover only part of the region, the user can mask out the non-covered parts of the input map first by means of r.mask. That will result in an IQR and median representing the values that fall within the zones of -the zonal map only. Otherwise, the computational region can be changed to +the zonal map only. Otherwise, the computational region can be changed to fit the extent of the zonal map with g.region

@@ -25,7 +25,7 @@

DESCRIPTION

The whiskers extend to the most extreme data point, which is no -more than range ✕ the IQR from the box. +more than range ✕ the IQR from the box. By default, a range of 1.5 is used, but the user can change this. Note that range values need to be larger than 0. @@ -64,11 +64,11 @@

NOTE

with the error message, 'The zonal raster must be of type CELL (integer)'.

-If the c flag is used, the bxp_color and median_color +If the c flag is used, the bxp_color and median_color are ignored, even if set by the user. The option to color boxploxs using the colors of the zonal raster categories (c flag) only works if the zonal map contains a color table. If it does not, the function exits with the -error message that 'The zonal map does not have a color table'. If the user +error message that 'The zonal map does not have a color table'. If the user thinks there is a color table, run r.colors.out and check if the categories are integers. If not, that is the problem. If they are all integers, you probably have caught a bug. @@ -83,7 +83,7 @@

EXAMPLE

Example 1

Draw a boxplot of the values of the elevation layer from the NC sample -dataset. Set the h flag to print the boxplot horizontally. +dataset. Set the h flag to print the boxplot horizontally. Set the plot dimensions to 7 inch wide, 1 inch high.
diff --git a/src/raster/r.catchment/r.catchment.html b/src/raster/r.catchment/r.catchment.html
index 18acd38da8..31403025d3 100644
--- a/src/raster/r.catchment/r.catchment.html
+++ b/src/raster/r.catchment/r.catchment.html
@@ -46,7 +46,7 @@ 

Options and flags:

the catchment configuration. The optional value name_column is to be used in conjunction with the -i flag (see below). There are three native flags for r.catchment. -c -allows you to keep the interim cost surface maps made. -l allows +allows you to keep the interim cost surface maps made. -l allows you to show a list of the costv alues in that cost map, along with the size of the catchments they delineate. -i enable "iterative" mode. Here, the module will loop through all the points in the input @@ -72,7 +72,7 @@

NOTES

determine the catchment. The input start_points map should be a vector points map. -If the file contains other types of features (areas, lines, centroids), +If the file contains other types of features (areas, lines, centroids), these will be ignored. If you desire, a start points map could be manually digitized (with v.digit) over topographic or cultural features, or could be created as a series of random points diff --git a/src/raster/r.edm.eval/r.edm.eval.html b/src/raster/r.edm.eval/r.edm.eval.html index 498b31f472..980f00ff22 100644 --- a/src/raster/r.edm.eval/r.edm.eval.html +++ b/src/raster/r.edm.eval/r.edm.eval.html @@ -1,29 +1,29 @@

DESCRIPTION

-The r.edm.eval addon returns a few evaluation statistics, -including the area under the curve (AUC), the maximum true skill -statistic (TSS), and the maximum kappa. For all three statistics, the -corresponding probability threshold values are also given. Optionally, +The r.edm.eval addon returns a few evaluation statistics, +including the area under the curve (AUC), the maximum true skill +statistic (TSS), and the maximum kappa. For all three statistics, the +corresponding probability threshold values are also given. Optionally, it draws the receiver operating characteristic (ROC) curve.

-The addon takes as input a raster layer with -observations(observations) and one or more -predictions layers. The observations layer -should be encoded with 1 (presence/cases) and 0 (absences/controls). -The (predictions layer gives the predicted values (e.g., the -outcome of a model). This typically are probability or suitability -scores between 0 and 1, but it will work on other scales too. With two -or more predictions layers, statistics are calculated for each -prediction layer separately. This allows one to compare predictions of +The addon takes as input a raster layer with +observations(observations) and one or more +predictions layers. The observations layer +should be encoded with 1 (presence/cases) and 0 (absences/controls). +The (predictions layer gives the predicted values (e.g., the +outcome of a model). This typically are probability or suitability +scores between 0 and 1, but it will work on other scales too. With two +or more predictions layers, statistics are calculated for each +prediction layer separately. This allows one to compare predictions of different models.

-By default, the prediction layer is divided in 200 bins (the user can -change this number). For each bin, the module computes the cumulative -true and false positives (TP, FP), true and false negatives (TN, FN), the -true and false positive rate (TPR, FPR), the true negative rate (TNR), -Cohen's kappa and the true skill statistic. +By default, the prediction layer is divided in 200 bins (the user can +change this number). For each bin, the module computes the cumulative +true and false positives (TP, FP), true and false negatives (TN, FN), the +true and false positive rate (TPR, FPR), the true negative rate (TNR), +Cohen's kappa and the true skill statistic.

 TPR = TP / (TP + FN)
@@ -42,49 +42,49 @@ 

DESCRIPTION

-These values can be saved to a CSV file, together with the -corresponding upper and lower boundaries of the bins values. These can +These values can be saved to a CSV file, together with the +corresponding upper and lower boundaries of the bins values. These can be used to calculate additional statistics.

-With the -b flag, the module will use the fraction of -points that is predicted to be presence/true instead of the false -positive rate to create the ROC curve and calculate the AUC. Use this -when the predictions are created using a model that works with +With the -b flag, the module will use the fraction of +points that is predicted to be presence/true instead of the false +positive rate to create the ROC curve and calculate the AUC. Use this +when the predictions are created using a model that works with background points instead of (pseudo-)absence points (like Maxent).

-A problem with the AUC is that it varies with the spatial extent used -to select background points (Lobo et al. 2008, Jiménez-Valverde 2012). -Generally, the larger that extent, the higher the AUC value. Therefore, -AUC values are generally biased and cannot be directly compared. An -admittedly simple way to evaluate this issue of changing AUC values -with changing extents is to only use (pseudo-)absence or background -points within certain distances of the presence points (raster cells). -To do so, the user can use the buffer parameter to limit the -absence/background points that are used to calculate the various -statistics to those within a certain distance from the presence -locations/areas. +A problem with the AUC is that it varies with the spatial extent used +to select background points (Lobo et al. 2008, Jiménez-Valverde 2012). +Generally, the larger that extent, the higher the AUC value. Therefore, +AUC values are generally biased and cannot be directly compared. An +admittedly simple way to evaluate this issue of changing AUC values +with changing extents is to only use (pseudo-)absence or background +points within certain distances of the presence points (raster cells). +To do so, the user can use the buffer parameter to limit the +absence/background points that are used to calculate the various +statistics to those within a certain distance from the presence +locations/areas.

-The user can set the required ratio of presence and total points to be -used in the evaluation (preval; value between 0 an 1). This -allows the user to test how sensitive the evaluation statistics are for -the prevalence of presence points. +The user can set the required ratio of presence and total points to be +used in the evaluation (preval; value between 0 an 1). This +allows the user to test how sensitive the evaluation statistics are for +the prevalence of presence points.

NOTES

-The module expects an reference raster layer, encoded with 1 -(presence/cases) and 0 (absences/controls). Optionally, the user can -define other values using the absence and presence -parameters. If the layer contains more than 2 unique values, or if the -layer is not of the type CELL (integer), the module will terminate with +The module expects an reference raster layer, encoded with 1 +(presence/cases) and 0 (absences/controls). Optionally, the user can +define other values using the absence and presence +parameters. If the layer contains more than 2 unique values, or if the +layer is not of the type CELL (integer), the module will terminate with a warning.

-The selection of the best evaluation statistic depends on your data and -what you want to test. This module provides a few only, but the user can -calculate his/her own using the table in the CSV file. See the +The selection of the best evaluation statistic depends on your data and +what you want to test. This module provides a few only, but the user can +calculate his/her own using the table in the CSV file. See the References list for a few useful references in that respect.

@@ -93,9 +93,9 @@

NOTES

EXAMPLES

-Run this example in the "landsat" mapset of the North Carolina sample -data set location. First, create a binary map with herbaceous land cover -(1) and other (0). Next, create a raster layer with training pixels +Run this example in the "landsat" mapset of the North Carolina sample +data set location. First, create a binary map with herbaceous land cover +(1) and other (0). Next, create a raster layer with training pixels using r.learn.train and r.learn.predict from the r.learn.ml2 addon. Note, r.learn.train can compute its own accuracy @@ -108,7 +108,7 @@

EXAMPLES

-Then we can use these training pixels to perform a classification on +Then we can use these training pixels to perform a classification on the more recently obtained landsat 7 image using r.learn.train.

@@ -116,14 +116,14 @@ 

EXAMPLES

r.learn.train group=lsat7_2000 training_map=training_pixels \ model_name=RandomForestRegressor n_estimators=500 \ save_model=rf_model.gz cv=2 - + # perform prediction using r.learn.predict r.learn.predict group=lsat7_2000 load_model=rf_model.gz \ output=rf_regressor

-Now we can see how well the model performed using the +Now we can see how well the model performed using the r.edm.eval.

@@ -154,14 +154,14 @@ 

EXAMPLES

-Let's try how well a logistic regression performs, and compare this +Let's try how well a logistic regression performs, and compare this with the previous results.

 # train a logistic regression model using r.learn.train
 r.learn.train group=lsat7_2000 training_map=training_pixels \
 	model_name=LogisticRegression save_model=lr_model.gz cv=2
-	
+
 # perform prediction using r.learn.predict -p
 r.learn.predict group=lsat7_2000 load_model=lr_model.gz \
    output=lr_regressor
@@ -191,7 +191,7 @@ 

EXAMPLES

treshold minimum distance to (0,1) = 0.0848
-And the accompanying ROC curve is shown below (the figure can optionally be saved to file). +And the accompanying ROC curve is shown below (the figure can optionally be saved to file).

@@ -204,29 +204,29 @@

EXAMPLES

REFERENCES

Jiménez-Valverde, A. 2012. Insights into the area under the receiver -operating characteristic curve (AUC) as a discrimination measure in -species distribution modelling. Global Ecology and Biogeography 21: +operating characteristic curve (AUC) as a discrimination measure in +species distribution modelling. Global Ecology and Biogeography 21: 498-507

Lobo, J. M., Jiménez-Valverde, A., & Real, R. 2008. AUC: a -misleading measure of the performance of predictive distribution +misleading measure of the performance of predictive distribution models. Global Ecology and Biogeography 17: 145-151.

Hijmans, R. J. 2012. Cross-validation of species distribution models: -removing spatial sorting bias and calibration with a null model. +removing spatial sorting bias and calibration with a null model. Ecology 93: 679-688.

Allouche, O., Tsoar, A., & Kadmon, R. 2006. Assessing the accuracy of -species distribution models: prevalence, kappa and the true skill +species distribution models: prevalence, kappa and the true skill statistic (TSS). Journal of Applied Ecology 43: 1223-1232.

McPherson, J. M., Jetz, W., & Rogers, D. J. 2004. The effects of -species' range sizes on the accuracy of distribution models: ecological -phenomenon or statistical artefact? Journal of Applied Ecology 41: +species' range sizes on the accuracy of distribution models: ecological +phenomenon or statistical artefact? Journal of Applied Ecology 41: 811-823.

SEE ALSO

diff --git a/src/raster/r.fusion/r.fusion.html b/src/raster/r.fusion/r.fusion.html index 59c1f5ea14..a7d2834292 100644 --- a/src/raster/r.fusion/r.fusion.html +++ b/src/raster/r.fusion/r.fusion.html @@ -1,15 +1,15 @@

DESCRIPTION

-r.fusion enhances the resolution of a raster map by using spatial -detail of a high-resolution map. The actual values in the resultant output map -correspond to the input map while the spatial detail corresponds to the -high-resolution map. The effect is similar to pan-sharpening, but the method -can be applied more generally, not only to imagery but also to climatological +r.fusion enhances the resolution of a raster map by using spatial +detail of a high-resolution map. The actual values in the resultant output map +correspond to the input map while the spatial detail corresponds to the +high-resolution map. The effect is similar to pan-sharpening, but the method +can be applied more generally, not only to imagery but also to climatological data such as temperature or precipitation.

NOTES

-Two different methods are available with the method option: +Two different methods are available with the method option: difference and proportion.

@@ -21,11 +21,11 @@

NOTES

highres(Alowres - Blowres) + Bhighres = Ahighres

-where highres() is a function to interpolate the differences. Here, +where highres() is a function to interpolate the differences. Here, r.resamp.filter is used for interpolation.

-The proportion method is suitable for e.g. precipitation where zero +The proportion method is suitable for e.g. precipitation where zero precipition must stay zero precipition, and uses the formula

A / B * B = A @@ -35,8 +35,8 @@

NOTES

highres(Alowres / Blowres) * Bhighres = Ahighres

-Again, highres() is a function to interpolate the proportions, and -r.resamp.filter is used for interpolation. For the proportion +Again, highres() is a function to interpolate the proportions, and +r.resamp.filter is used for interpolation. For the proportion method, all values in the high-resolution B map must be > 0. diff --git a/src/raster/r.fuzzy.set/r.fuzzy.set.html b/src/raster/r.fuzzy.set/r.fuzzy.set.html index f2e554c533..eefd41d2b3 100644 --- a/src/raster/r.fuzzy.set/r.fuzzy.set.html +++ b/src/raster/r.fuzzy.set/r.fuzzy.set.html @@ -93,7 +93,7 @@

Calculation of boundary shape

1-cos(x * Pi/2)^m (for negative shape parameter) where x: membership, and -m = 2^exp(2 * |shape|) +m = 2^exp(2 * |shape|) For default shape=0, m = 2 (most common parameter for that equation).
diff --git a/src/raster/r.in.ahn/r.in.ahn.html b/src/raster/r.in.ahn/r.in.ahn.html index 6fb82f5aa2..5cd4b94d42 100644 --- a/src/raster/r.in.ahn/r.in.ahn.html +++ b/src/raster/r.in.ahn/r.in.ahn.html @@ -1,48 +1,48 @@

DESCRIPTION

-r.in.ahn imports the Actueel Hoogtebestand Nederland (AHN, version 4) for the current region. -The AHN is a digital elevation model (DEM) of the Netherlands with a -resolution of of 0.5 meter. +r.in.ahn imports the Actueel Hoogtebestand Nederland (AHN, version 4) for the current region. +The AHN is a digital elevation model (DEM) of the Netherlands with a +resolution of of 0.5 meter.

-There are two different layers available: the digital terrain model -(DTM) and a digital surface model (DSM). The user needs to select which -to download. The selected product will be downloaded for the -computation region. However, note that the region will adjusted to -ensure that the imported raster layer neatly aligns with and has the -same resolution (0.5 meter) as the original AHN data. The resulting -will always have the same or a larger extent than the original -computation region. If you want to store the current computational -region, make sure to first save it using g.region. +There are two different layers available: the digital terrain model +(DTM) and a digital surface model (DSM). The user needs to select which +to download. The selected product will be downloaded for the +computation region. However, note that the region will adjusted to +ensure that the imported raster layer neatly aligns with and has the +same resolution (0.5 meter) as the original AHN data. The resulting +will always have the same or a larger extent than the original +computation region. If you want to store the current computational +region, make sure to first save it using g.region.

-The AHN can also be downloaded in map sheets (tiles) of 6.5 by 5 -kilometer. To download the area covered by one or more of these tiles, -the user can set the -t flag. This wil to download the area for +The AHN can also be downloaded in map sheets (tiles) of 6.5 by 5 +kilometer. To download the area covered by one or more of these tiles, +the user can set the -t flag. This wil to download the area for the tiles that overlap with the current computational region.

NOTE

- -This location only works in a location with the project 'RD New' -(EPSG:28992). Attempts to run it in a location with another CRS will + +This location only works in a location with the project 'RD New' +(EPSG:28992). Attempts to run it in a location with another CRS will result in an error message.

-The region will be adjusted to ensure that the imported raster layer -neatly aligns with and has the same resolution (0.5 meter) as the -original AHN data. The user can set the -g flag to return the +The region will be adjusted to ensure that the imported raster layer +neatly aligns with and has the same resolution (0.5 meter) as the +original AHN data. The user can set the -g flag to return the region to the original computation region after the data is imported.

-The addon uses the r.in.wcs addon in the background, so the +The addon uses the r.in.wcs addon in the background, so the user will first need to install this addon.

EXAMPLE

Example 1

-Import the DTM for Fort Crèvecoeur, an fortress where the river Old +Import the DTM for Fort Crèvecoeur, an fortress where the river Old Dieze flows into the Maas river.

@@ -64,7 +64,7 @@

Example 1

Example 2

-Import the DTM for the tile that overlaps with the current region. Do +Import the DTM for the tile that overlaps with the current region. Do this by setting the -t flag.

@@ -77,7 +77,7 @@

Example 2

-The result will be a raster layer dsm_crevecoeur2 and a vector +The result will be a raster layer dsm_crevecoeur2 and a vector layer dsm_crevecoeur2_tiles

@@ -85,20 +85,20 @@

Example 2

r.in.ahn example
-Figure: DSM map of Fort Crèvecoeur. Left shows the extent (red -outline) after running example 2. The extent equals the extent of the -area (tile) for which the data was downloaded. Right shows the extent -(red outline) after running example 3. In this case, the extent is the -same as before running the example because the -g flag was +Figure: DSM map of Fort Crèvecoeur. Left shows the extent (red +outline) after running example 2. The extent equals the extent of the +area (tile) for which the data was downloaded. Right shows the extent +(red outline) after running example 3. In this case, the extent is the +same as before running the example because the -g flag was set.

Example 3

-Set the -t flag to import the DTM for the tile that overlaps -with the current region. Set the -g flag to keep the current -computation region after importing the requested data. Note, the -imported data will still have the resolution of, and will be aligned +Set the -t flag to import the DTM for the tile that overlaps +with the current region. Set the -g flag to keep the current +computation region after importing the requested data. Note, the +imported data will still have the resolution of, and will be aligned to, the original AHN data.

@@ -111,20 +111,20 @@

Example 3

-The result will be a raster layer dsm_crevecoeur3 and a vector +The result will be a raster layer dsm_crevecoeur3 and a vector layer dsm_crevecoeur3_tiles

REFERENCES

-See the AHN webpage for more information +See the AHN webpage for more information about the AHN data (in Dutch).

AUTHORS

-Paulo van Breugel | HAS green academy, -University of Applied Sciences | Climate-robust -Landscapes research group | -Innovative Bio-Monitoring research group | -Contact: Ecodiv.earth +Paulo van Breugel | HAS green academy, +University of Applied Sciences | Climate-robust +Landscapes research group | +Innovative Bio-Monitoring research group | +Contact: Ecodiv.earth diff --git a/src/raster/r.maxent.predict/r.maxent.predict.html b/src/raster/r.maxent.predict/r.maxent.predict.html index 59d8f6d172..06bedf6751 100644 --- a/src/raster/r.maxent.predict/r.maxent.predict.html +++ b/src/raster/r.maxent.predict/r.maxent.predict.html @@ -1,116 +1,116 @@

DESCRIPTION

-The r.maxent.predict addon can be used to apply a previously -calculated Maxent model to a new set of environmental raster data. It -requires a .lambdas file describing a Maxent model, and the -name of raster layers for all predictor variables described in the -lambdas file. The .lambdas file can be created by the +The r.maxent.predict addon can be used to apply a previously +calculated Maxent model to a new set of environmental raster data. It +requires a .lambdas file describing a Maxent model, and the +name of raster layers for all predictor variables described in the +lambdas file. The .lambdas file can be created by the r.maxent.train addon, or by the Maxent software directly.

-For convenience, r.maxent.train creates a file -maxent_explanatory_variable_names.csv, which you can check for -the names of the predictor variables. If these are different from the -input raster layers, you can provide the variable names using the -variables parameter. Alternatively, you can provide a CSV file -with the names of the explanatory variables (first column) and the +For convenience, r.maxent.train creates a file +maxent_explanatory_variable_names.csv, which you can check for +the names of the predictor variables. If these are different from the +input raster layers, you can provide the variable names using the +variables parameter. Alternatively, you can provide a CSV file +with the names of the explanatory variables (first column) and the names of the corresponding raster layers (second column).

-Maxent includes the option of “clamping” projections. This constrains -the values for environmental values in the projected range to the limit -of that variable that is found in the training range. By default, -Maxent applied clamping. You can disable this by setting the --c flag. You also have the option to reduce the prediction at -each point in projections by the difference between clamped and -non-clamped output at that point. Use the -f to enable this +Maxent includes the option of “clamping” projections. This constrains +the values for environmental values in the projected range to the limit +of that variable that is found in the training range. By default, +Maxent applied clamping. You can disable this by setting the +-c flag. You also have the option to reduce the prediction at +each point in projections by the difference between clamped and +non-clamped output at that point. Use the -f to enable this option.

NOTES

-This addon requires the Maxent software. You can download the software -from the Maxent -website. The software includes a Maxent.jar file. The -addon expects a copy of the executable in the GRASS GIS addon -directory. If it is not there, you need to provide the path to the -maxent.jar file using the maxent parameter. To avoid -having to provide this each time again, you can use the -i flag. -If set, the maxent.jar file will be copied to the addon/script -directory. Note that if you already did this when running +This addon requires the Maxent software. You can download the software +from the Maxent +website. The software includes a Maxent.jar file. The +addon expects a copy of the executable in the GRASS GIS addon +directory. If it is not there, you need to provide the path to the +maxent.jar file using the maxent parameter. To avoid +having to provide this each time again, you can use the -i flag. +If set, the maxent.jar file will be copied to the addon/script +directory. Note that if you already did this when running r.maxent.train, there is no need to repeat it here.

-If you want to update the Maxent.jar file, use the -u flag. -Removing the Maxent.jar file needs to be done manually. Go to the GRASS -GIS addon directory, and delete the Maxent.jar file. To find the addon -directory, open GRASS GIS, and type `echo $GRASS_ADDON_BASE` on the +If you want to update the Maxent.jar file, use the -u flag. +Removing the Maxent.jar file needs to be done manually. Go to the GRASS +GIS addon directory, and delete the Maxent.jar file. To find the addon +directory, open GRASS GIS, and type `echo $GRASS_ADDON_BASE` on the command line.

Examples

-The examples below use a dataset that you can download from -here. It includes a vector point layer with observation locations -of the pale-throated sloth (Bradypus tridactylus) from GBIF, the IUCN RedList -range map of the species, a boundary layer of the South American -countries from NaturalEarth -and a number of bioclim raster layers from WorldClim version 2.1, -representing the climate conditions representing the period 1970-2000 -and the climate conditions predicted for 2061–2080 based on the GCM +The examples below use a dataset that you can download from +here. It includes a vector point layer with observation locations +of the pale-throated sloth (Bradypus tridactylus) from GBIF, the IUCN RedList +range map of the species, a boundary layer of the South American +countries from NaturalEarth +and a number of bioclim raster layers from WorldClim version 2.1, +representing the climate conditions representing the period 1970-2000 +and the climate conditions predicted for 2061–2080 based on the GCM BCC-CSM2-MR and SSP 585.

-The zip file contains a folder sampledata. This is a location -with five subfolders PERMANENT, sloth, current, -future and model01. Copy this Location to a GRASS -Database (use an existing one or create one first). If you are not -familiar with the concept of Locations and Mapsets, -please first read the explanation +The zip file contains a folder sampledata. This is a location +with five subfolders PERMANENT, sloth, current, +future and model01. Copy this Location to a GRASS +Database (use an existing one or create one first). If you are not +familiar with the concept of Locations and Mapsets, +please first read the explanation about the GRASS GIS database.

-Unzip the file, start up GRASS GIS, open the GRASS GIS database to -which you copied the folder sampledata, switch to the Location -sampledata and open the mapset model01. This mapset +Unzip the file, start up GRASS GIS, open the GRASS GIS database to +which you copied the folder sampledata, switch to the Location +sampledata and open the mapset model01. This mapset should have access to the other mapsets. -This addon is part of a series of three addons that can be used to -prepare the data, train a maxent presence only model, and to use the +This addon is part of a series of three addons that can be used to +prepare the data, train a maxent presence only model, and to use the model to create prediction layers.

-


A workflow, from data preparation, -training a model to model prediction using three GRASS GIS addons. +

A workflow, from data preparation, +training a model to model prediction using three GRASS GIS addons.

-The examples below show how to use the three addons in sequence. Only -the basic options are shown. For a detailed account of all options, -check out the Maxent tutorial on the Maxent +The examples below show how to use the three addons in sequence. Only +the basic options are shown. For a detailed account of all options, +check out the Maxent tutorial on the Maxent website.

1: Data preparation

-You can use the v.maxent.swd to create the required input -layers. The code below creates the SWD file with the locations where -the species has been recorded (species_output) and a SWD file -with randomly created background point locations (bgr_ouput). The -SWD files contain, for each location, the values of the raster layers -selected with the evp_maps parameter. With the parameter -export_rasters you tell the addon to export the raster layers as +You can use the v.maxent.swd to create the required input +layers. The code below creates the SWD file with the locations where +the species has been recorded (species_output) and a SWD file +with randomly created background point locations (bgr_ouput). The +SWD files contain, for each location, the values of the raster layers +selected with the evp_maps parameter. With the parameter +export_rasters you tell the addon to export the raster layers as well.
@@ -128,29 +128,29 @@

1: Data preparation

-The output is a folder with the so-called SWD files with the XY -coordinates for the species presence location (spec_swd.csv) and -the background locations (bgrd_swd.csv. Both also include the -values of the input raster layers for the given point locations. In -addition, there is the subfolder envlayers with the +The output is a folder with the so-called SWD files with the XY +coordinates for the species presence location (spec_swd.csv) and +the background locations (bgrd_swd.csv. Both also include the +values of the input raster layers for the given point locations. In +addition, there is the subfolder envlayers with the environmental raster layers in ascii format.

2: Train the model

-Use the output of v.maxent.swd as input for -r.maxent.train. First create a subfolder output_model1, +Use the output of v.maxent.swd as input for +r.maxent.train. First create a subfolder output_model1, so we can write the output to that folder.

-The projectionlayers parameter is optionally. If you set it, a -raster prediction layer will be created that represent the potential -suitability distribution under current conditions (the conditions used +The projectionlayers parameter is optionally. If you set it, a +raster prediction layer will be created that represent the potential +suitability distribution under current conditions (the conditions used to train the model).

-With the -y and -b flags the point layers with the sample -predictions and the predictions at the background point locations are -created. Their values correspond to the values of the raster prediction +With the -y and -b flags the point layers with the sample +predictions and the predictions at the background point locations are +created. Their values correspond to the values of the raster prediction layer.

@@ -163,58 +163,58 @@

2: Train the model

samplepredictions=model_1_samplepred \ backgroundpredictions=model_1_bgrdpred \ predictionlayer=model_1_suitability_current \ - outputdirectory=output_model1 + outputdirectory=output_model1

-When r.maxent.train is finished, go to the output folder and -open the Bradypus_tridactylus.html file for an explanation of -the different model outputs and model evaluation statistics. For a more -detailed explanation, see the tutorial on the Maxent +When r.maxent.train is finished, go to the output folder and +open the Bradypus_tridactylus.html file for an explanation of +the different model outputs and model evaluation statistics. For a more +detailed explanation, see the tutorial on the Maxent website.

-In your current mapset, you'll find the raster prediction layer, and -the sample and background point layers with the predicted values. +In your current mapset, you'll find the raster prediction layer, and +the sample and background point layers with the predicted values.

-

-Output layers in GRASS GIS
The example creates the prediction raster layer -'model_1_suitability_current', the sample point layer -'model_1_samplepred' and the background point layer 'model_bgrdpred' +
+Output layers in GRASS GIS
The example creates the prediction raster layer +'model_1_suitability_current', the sample point layer +'model_1_samplepred' and the background point layer 'model_bgrdpred' (for the latter, only part of the map is shown here).

3: Create a prediction layer

-The third step is to use the model created in the previous step to -predict the species suitability distribution under future climates. -Note, we are going to make the (unrealistic) assumption that the +The third step is to use the model created in the previous step to +predict the species suitability distribution under future climates. +Note, we are going to make the (unrealistic) assumption that the ecosystems do not change.
-r.maxent.predict 
+r.maxent.predict
   lambda=output_model1/Bradypus_tridactylus.lambdas raster=bio02_ssp585,bio03_ssp585,bio08_ssp585,bio09_ssp585,bio13_ssp585,bio15_ssp585,bio17_ssp585,sa_eco_l2@current variables=bio02,bio03,bio08,bio09,bio13,bio15,bio17,landuse \
   output=model_1_ssp585
 

-The resulting layer is written to the current mapset as -model_1_ssp585 (right map in the figure below). The results -suggest the area with suitable conditions will increase under future -climates compared the that under the current conditions (left map in -the figure below). Not sure that is realistic. +The resulting layer is written to the current mapset as +model_1_ssp585 (right map in the figure below). The results +suggest the area with suitable conditions will increase under future +climates compared the that under the current conditions (left map in +the figure below). Not sure that is realistic.

-

-
Predicted suitabilty for the period 2061-2080 based on the +
+
Predicted suitabilty for the period 2061-2080 based on the GCM BCC-CSM2-MR and SSP 585.
@@ -240,15 +240,15 @@

REFERENCES

SEE ALSO

    -
  • v.maxent.swd, creating species and -background swd files and prediction rasters that can be used directly -by the r.maxent.train addon (or the Maxent software itself) to +
  • v.maxent.swd, creating species and +background swd files and prediction rasters that can be used directly +by the r.maxent.train addon (or the Maxent software itself) to create species distribution models.
  • -
  • r.out.maxent_swd, creating -species and background swd files based on species distribution data in +
  • r.out.maxent_swd, creating +species and background swd files based on species distribution data in raster format.
  • -
  • r.maxent.train, creates a maxent -model based on presence point data a set of environmental predictor +
  • r.maxent.train, creates a maxent +model based on presence point data a set of environmental predictor layers.
@@ -258,8 +258,7 @@

AUTHOR

HAS green academy University of Applied Sciences
-Innovative +Innovative Biomonitoring research group
-Climate-robust +Climate-robust Landscapes research group - diff --git a/src/raster/r.maxent.train/r.maxent.train.html b/src/raster/r.maxent.train/r.maxent.train.html index 3582f75f49..b02cf81c71 100644 --- a/src/raster/r.maxent.train/r.maxent.train.html +++ b/src/raster/r.maxent.train/r.maxent.train.html @@ -1,75 +1,75 @@

DESCRIPTION

-With r.maxent.train a Maxent presence only model can be -created using the Maxent software. As input, the addon -requires two comma-separated files, one with the species locations and -another of background points locations. Both need to include columns -with the X, Y and sample values of the environmental variables that you -want to use as predictor variables. You can use the r.out.maxent_swd or v.maxent.swd addons to create these files. -For more details about the structure of these files, see the Maxent +With r.maxent.train a Maxent presence only model can be +created using the Maxent software. As input, the addon +requires two comma-separated files, one with the species locations and +another of background points locations. Both need to include columns +with the X, Y and sample values of the environmental variables that you +want to use as predictor variables. You can use the r.out.maxent_swd or v.maxent.swd addons to create these files. +For more details about the structure of these files, see the Maxent website.

-The only other requirement is to provide an output folder. With -these inputs, a Maxent model will be created. If you also provide a -folder with environmental raster layers with names corresponding to the -names of the environmental variables in the SWD files, the module will -create a prediction (suitability distribution) raster layer as well. +The only other requirement is to provide an output folder. With +these inputs, a Maxent model will be created. If you also provide a +folder with environmental raster layers with names corresponding to the +names of the environmental variables in the SWD files, the module will +create a prediction (suitability distribution) raster layer as well.

-Note that the Maxent software generates ASCII files without projection -information. That means you need to make sure yourself that the -environmental layers you provide are in the same reference coordinate -system as your current mapset. An easy way to ensure this is by using -the v.maxent_swd from the same mapset to create those -input environmental layers for Maxent. See the example workflow in +Note that the Maxent software generates ASCII files without projection +information. That means you need to make sure yourself that the +environmental layers you provide are in the same reference coordinate +system as your current mapset. An easy way to ensure this is by using +the v.maxent_swd from the same mapset to create those +input environmental layers for Maxent. See the example workflow in the Examples.

-The addon provides access to nearly all parameters available in the -Maxent software. On the above-mentioned website, you can find a -tutorial that explains most of these options. For the other options, +The addon provides access to nearly all parameters available in the +Maxent software. On the above-mentioned website, you can find a +tutorial that explains most of these options. For the other options, see the Maxent help file.

NOTES

-This addon requires the Maxent software. You can download the software -from the Maxent -website. The software includes a Maxent.jar file. The -first time you run the addon, you need to use the maxent -parameter to set the path to the Maxent.jar file. Set the -i -flag to copy the jar file to the addon/script directory. On subsequent +This addon requires the Maxent software. You can download the software +from the Maxent +website. The software includes a Maxent.jar file. The +first time you run the addon, you need to use the maxent +parameter to set the path to the Maxent.jar file. Set the -i +flag to copy the jar file to the addon/script directory. On subsequent runs, you do not need to set the maxent parameter anymore.

-If you want to update the Maxent.jar file, use the -u flag. -Removing the Maxent.jar file needs to be done manually. Go to the GRASS -GIS addon directory, and delete the Maxent.jar file. To find the addon +If you want to update the Maxent.jar file, use the -u flag. +Removing the Maxent.jar file needs to be done manually. Go to the GRASS +GIS addon directory, and delete the Maxent.jar file. To find the addon directory, open GRASS GIS and on the command line, type:

-
echo 
+
echo
 $GRASS_ADDON_BASE
 

-The r.maxent.train addon runs Maxent in the background. If -you want to check the Maxent settings first, you can set the --v flag to open the Maxent user interface with all parameters -filled in. You will need to hit the Run button to actually run +The r.maxent.train addon runs Maxent in the background. If +you want to check the Maxent settings first, you can set the +-v flag to open the Maxent user interface with all parameters +filled in. You will need to hit the Run button to actually run Maxent.

-Besides the files directly generated by Maxent, the addon -creates the maxent_explanatory_variable_names.csv file. This -file contains the names of the model explanatory variables. You can use -this when you quickly want to check the names of the explanatory +Besides the files directly generated by Maxent, the addon +creates the maxent_explanatory_variable_names.csv file. This +file contains the names of the model explanatory variables. You can use +this when you quickly want to check the names of the explanatory variables, e.g., when using r.maxent.predict. @@ -77,41 +77,41 @@

Examples

1) Sample dataset

-The examples below use a dataset that you can download from -here. It includes vector point layer with -observation locations of the pale-throated sloth (Bradypus -tridactylus) from GBIF, a number of bioclim -raster layers from WorldClim, -the IUCN -RedList range map of the species, and a boundary layer of the South -American countries from NaturalEarth. +The examples below use a dataset that you can download from +here. It includes vector point layer with +observation locations of the pale-throated sloth (Bradypus +tridactylus) from GBIF, a number of bioclim +raster layers from WorldClim, +the IUCN +RedList range map of the species, and a boundary layer of the South +American countries from NaturalEarth.

-The zip file contains a folder sampledata. This is a location -with two subfolders PERMANENT and southamerica. If you -are not familiar with the concept of Locations and -Mapsets, please first read the explanation +The zip file contains a folder sampledata. This is a location +with two subfolders PERMANENT and southamerica. If you +are not familiar with the concept of Locations and +Mapsets, please first read the explanation about the GRASS GIS database.

-Unzip the file, start up GRASS GIS, open the GRASS GIS database to -which you copied the folder sampledata, switch to the Location -sampledata and then open the mapset southamerica. +Unzip the file, start up GRASS GIS, open the GRASS GIS database to +which you copied the folder sampledata, switch to the Location +sampledata and then open the mapset southamerica.

2) Preparing input data

-You can use the v.maxent.swd to create the required input -layers. The code below creates the SWD file with the locations where -the species has been recorded (species_output) and a SWD file -with randomly created background point locations (bgr_ouput). The -SWD files contain for each location the values of the raster layers -selected with the evp_maps parameter. With the parameter -export_rasters you tell the addon to export the raster layers as +You can use the v.maxent.swd to create the required input +layers. The code below creates the SWD file with the locations where +the species has been recorded (species_output) and a SWD file +with randomly created background point locations (bgr_ouput). The +SWD files contain for each location the values of the raster layers +selected with the evp_maps parameter. With the parameter +export_rasters you tell the addon to export the raster layers as well.
@@ -130,20 +130,20 @@

2) Preparing input data

3) Train the model

-Use the output of v.maxent.swd as input for -rmaxent.train. First create a sub-folder output_model1. +Use the output of v.maxent.swd as input for +rmaxent.train. First create a sub-folder output_model1. The outputs will be written to this folder.

-The projectionlayers parameter is optionally. If you set it, a -raster prediction layer will be created that represent the potential -suitability distribution under current conditions (the conditions used +The projectionlayers parameter is optionally. If you set it, a +raster prediction layer will be created that represent the potential +suitability distribution under current conditions (the conditions used to train the model).

-With the -y and -b flags the point layers with the sample -predictions and the predictions at the background point locations are -created. Their values correspond to the values of the raster prediction +With the -y and -b flags the point layers with the sample +predictions and the predictions at the background point locations are +created. Their values correspond to the values of the raster prediction layer.

@@ -161,64 +161,64 @@

3) Train the model

-When r.maxent.train is finished, go to the output folder and -open the Bradypus_tridactylus.html file for an explanation of -the different model outputs and model evaluation statistics. For a more -detailed explanation, see the training manual on the Maxent +When r.maxent.train is finished, go to the output folder and +open the Bradypus_tridactylus.html file for an explanation of +the different model outputs and model evaluation statistics. For a more +detailed explanation, see the training manual on the Maxent website.

-In your current mapset, you'll find the raster prediction layer, and -the sample and background point layers with the predicted values. +In your current mapset, you'll find the raster prediction layer, and +the sample and background point layers with the predicted values.

-

-Output layers in grass gis +Output layers in grass gis
The example creates the prediction raster layer 'model_1_suitability_current', the sample point layer 'model_1_samplepred' and the background point layer 'model_bgrdpred' (for the latter, ony part of the map is shown here).

-You can use the addon r.maxent.predict to perform predictions +You can use the addon r.maxent.predict to perform predictions based on future conditions or for a different area.

REFERENCES

    -
  • Steven J. Phillips, Miroslav Dudík, Robert E. Schapire. -2020: Maxent software for modeling species niches and distributions -(Version 3.4.1). Available from url: -https://biodiversityinformatics.amnh.org/open_source/maxent and Steven J. Phillips, Miroslav Dudík, Robert E. Schapire. +2020: Maxent software for modeling species niches and distributions +(Version 3.4.1). Available from url: +https://biodiversityinformatics.amnh.org/open_source/maxent and https://github.com/mrmaxent/Maxent
  • -
  • Steven J. Phillips, Miroslav Dudík, Robert E. Schapire. -2004: A maximum entropy approach to species distribution modeling. In -Proceedings of the Twenty-First International Conference on Machine +
  • Steven J. Phillips, Miroslav Dudík, Robert E. Schapire. +2004: A maximum entropy approach to species distribution modeling. In +Proceedings of the Twenty-First International Conference on Machine Learning, pages 655-662, 2004.
  • -
  • Steven J. Phillips, Robert P. Anderson, Robert E. Schapire. 2006: -Maximum entropy modeling of species geographic distributions. +
  • Steven J. Phillips, Robert P. Anderson, Robert E. Schapire. 2006: +Maximum entropy modeling of species geographic distributions. Ecological Modelling, 190:231-259, 2006.
  • -
  • Jane Elith, Steven J. Phillips, Trevor Hastie, Miroslav -Dudík, Yung En Chee, Colin J. Yates. 2011: A statistical -explanation of MaxEnt for ecologists. Diversity and Distributions, +
  • Jane Elith, Steven J. Phillips, Trevor Hastie, Miroslav +Dudík, Yung En Chee, Colin J. Yates. 2011: A statistical +explanation of MaxEnt for ecologists. Diversity and Distributions, 17:43-57, 2011.

SEE ALSO

-See also +See also
    -
  • v.maxent.swd, creating species and -background swd files and prediction rasters that can be used directly -by the r.maxent.train addon (or the Maxent software itself) to +
  • v.maxent.swd, creating species and +background swd files and prediction rasters that can be used directly +by the r.maxent.train addon (or the Maxent software itself) to create species distribution models.
  • -
  • r.out.maxent_swd, creating -species and background swd files based on species distribution data in +
  • r.out.maxent_swd, creating +species and background swd files based on species distribution data in raster format.
  • -
  • r.maxent.predict, creating a -suitability layer based on a set of environmental layers and a Maxent +
  • r.maxent.predict, creating a +suitability layer based on a set of environmental layers and a Maxent model, e.g., created using the r.maxent.train addon.
@@ -228,9 +228,9 @@

AUTHOR

HAS green academy University of Applied Sciences
-Innovative +Innovative Biomonitoring research group
-Climate-robust +Climate-robust Landscapes research group diff --git a/src/raster/r.mess/r.mess.html b/src/raster/r.mess/r.mess.html index 3c7cf2323f..886b7b2981 100644 --- a/src/raster/r.mess/r.mess.html +++ b/src/raster/r.mess/r.mess.html @@ -1,22 +1,22 @@

DESCRIPTION

-The Multivariate Environmental Similarity (MES) surfaces was proposed -by Elith et al (2010) [1] and originally implemented in the Maxent -software. The MES provides a measure of the proportional distance -of any points (in the projection data) with respect to the range of -individual covariates from the reference data. More precisely, the MES -represents how similar a point is to a reference set of points, with -respect to a set of predictor variables (V1, V2, ...). The values in -the MESS are influenced by the full distribution of the reference -points. So, sites within the environmental range of the reference -points but in relatively unusual environments will have a smaller -value than those in very common environments. See the supplementary +The Multivariate Environmental Similarity (MES) surfaces was proposed +by Elith et al (2010) [1] and originally implemented in the Maxent +software. The MES provides a measure of the proportional distance +of any points (in the projection data) with respect to the range of +individual covariates from the reference data. More precisely, the MES +represents how similar a point is to a reference set of points, with +respect to a set of predictor variables (V1, V2, ...). The values in +the MESS are influenced by the full distribution of the reference +points. So, sites within the environmental range of the reference +points but in relatively unusual environments will have a smaller +value than those in very common environments. See the supplementary materials of Elith et al. (2010) [1] for more details.

-r.mess computes the MES and the individual similarity layers -(IES - the user can select to delete these layers) and, optionally, +r.mess computes the MES and the individual similarity layers +(IES - the user can select to delete these layers) and, optionally, several other layers that help to further interpret the MES values.

    @@ -29,14 +29,14 @@

    DESCRIPTION

-The user can compare a set of reference / baseline conditions (ref) and -projected / test conditions (proj). For the reference conditions, the -whole region can be used (no reference areas or points are given). -Alternatively, one can define a set of reference/sample points -(presvect) or reference/sample areas (presrast) against which other -areas are to be compared. The projected conditions can be future -conditions in the same area (similarity across time), or conditions in -another area (similarity between two different areas). See the examples +The user can compare a set of reference / baseline conditions (ref) and +projected / test conditions (proj). For the reference conditions, the +whole region can be used (no reference areas or points are given). +Alternatively, one can define a set of reference/sample points +(presvect) or reference/sample areas (presrast) against which other +areas are to be compared. The projected conditions can be future +conditions in the same area (similarity across time), or conditions in +another area (similarity between two different areas). See the examples for more details.

NOTES

@@ -50,19 +50,19 @@

NOTES

EXAMPLE

-The examples below use the bioclimatic variables bio1 (mean annual -temperature), bio12 (annual precipitation), and bio15 (precipitation -seasonality) in Kenya and Uganda. All climate layers (current and -future) are from Worldclim.org. -The protected areas layer includes all nationally designated protected -areas with a IUCN category of II or higher from Worldclim.org. +The protected areas layer includes all nationally designated protected +areas with a IUCN category of II or higher from protectedplanet.net.

Example 1

-The simplest case is when only a set of reference data layers (env -) is provided. The multi-variate similarity values of the resulting -map are a measure of how similar conditions in a location are to the +The simplest case is when only a set of reference data layers (env +) is provided. The multi-variate similarity values of the resulting +map are a measure of how similar conditions in a location are to the median conditions in the whole region.

> @@ -72,10 +72,10 @@

Example 1

-Thus, in the maps above, the value in each pixel represents how similar -conditions are in that pixel to the median conditions in the entire -region, in terms of mean annual temperature (bio1), mean annual -precipitation (bio12), precipitation seasonality (bio15) and the three +Thus, in the maps above, the value in each pixel represents how similar +conditions are in that pixel to the median conditions in the entire +region, in terms of mean annual temperature (bio1), mean annual +precipitation (bio12), precipitation seasonality (bio15) and the three combined (MES).

@@ -84,10 +84,10 @@

Example 1

Example 2

-In the second example, conditions in the entire region are compared to -those in the region's protected areas (ppa), which thus serves as the -reference/sample area. See van Breugel et +In the second example, conditions in the entire region are compared to +those in the region's protected areas (ppa), which thus serves as the +reference/sample area. See van Breugel et al.(2015) [3] for an example of how this can be useful.

@@ -97,10 +97,10 @@

Example 2

-In the figure below the map with the protected areas, the MES, the most -dissimilar variables, and the areas with novel conditions are given. -They show that the protected areas cover most of the region's annual -precipitation, mean annual temperature, and precipitation seasonality +In the figure below the map with the protected areas, the MES, the most +dissimilar variables, and the areas with novel conditions are given. +They show that the protected areas cover most of the region's annual +precipitation, mean annual temperature, and precipitation seasonality gradients. Areas with novel conditions can be found in northern Kenya.

@@ -125,14 +125,14 @@

Example 3

-Results (below) shows that there is a fairly large area with novel -conditions. Note that in the MES map, the values are based on -the highest negative value across the input variables (here bio1, -bio12, bio15). In the SumNeg map, values of all input variables -are summed when negative. The Count map shows for each raster -cell how many variables have negative similarity scores. Thus, the -values in the MES and SumNeg maps only differ where the -MES of more than one variable is negative (dark gray areas in the +Results (below) shows that there is a fairly large area with novel +conditions. Note that in the MES map, the values are based on +the highest negative value across the input variables (here bio1, +bio12, bio15). In the SumNeg map, values of all input variables +are summed when negative. The Count map shows for each raster +cell how many variables have negative similarity scores. Thus, the +values in the MES and SumNeg maps only differ where the +MES of more than one variable is negative (dark gray areas in the Count map).

@@ -147,14 +147,14 @@

REFERENCES

Ecology and Evolution 1:330-342.

-[2] Mesgaran, M.B., Cousens, R.D. & Webber, B.L. (2014) Here be -dragons: a tool for quantifying novelty due to covariate range and -correlation change when projecting species distribution models. +[2] Mesgaran, M.B., Cousens, R.D. & Webber, B.L. (2014) Here be +dragons: a tool for quantifying novelty due to covariate range and +correlation change when projecting species distribution models. Diversity & Distributions, 20: 1147-1159, DOI: 10.1111/ddi.12209.

-[3] van Breugel, P., Kindt, R., Lillesø, J.-P.B., & van Breugel, -M. 2015. Environmental Gap Analysis to Prioritize Conservation Efforts +[3] van Breugel, P., Kindt, R., Lillesø, J.-P.B., & van Breugel, +M. 2015. Environmental Gap Analysis to Prioritize Conservation Efforts in Eastern Africa. PLoS ONE 10: e0121444. diff --git a/src/raster/r.random.walk/r.random.walk.html b/src/raster/r.random.walk/r.random.walk.html index b21d452e98..a6135312e3 100644 --- a/src/raster/r.random.walk/r.random.walk.html +++ b/src/raster/r.random.walk/r.random.walk.html @@ -1,6 +1,6 @@

DESCRIPTION

The r.random.walk module generates a 2D random walk across the current computational region. -The module provides control of the number of steps and directions (4 or 8) a walker can take and allows +The module provides control of the number of steps and directions (4 or 8) a walker can take and allows the walker's behavior to be set to be self-avoiding (Madras et al., 1996) or allow revisits. The output displays the frequency the walker visited each cell or the average frequency. The module can run multiple walks in parallel. It either samples the same starting location for each walk or generates a unique starting position diff --git a/src/raster/r.series.boxplot/r.series.boxplot.html b/src/raster/r.series.boxplot/r.series.boxplot.html index 5ce894e311..cc8830df12 100644 --- a/src/raster/r.series.boxplot/r.series.boxplot.html +++ b/src/raster/r.series.boxplot/r.series.boxplot.html @@ -40,7 +40,7 @@

NOTE

EXAMPLE

The examples use the North Carolina full dataset, which you can -download from +download from here.

Example 1

diff --git a/src/raster/r.suitability.regions/r.suitability.regions.html b/src/raster/r.suitability.regions/r.suitability.regions.html index d590e9876e..beb1f33717 100644 --- a/src/raster/r.suitability.regions/r.suitability.regions.html +++ b/src/raster/r.suitability.regions/r.suitability.regions.html @@ -7,10 +7,10 @@

DESCRIPTION

between 0 (not suitable) and 1 (very suitable).

-Often, the next step is to use this suitability map to identify -suitable area/region, e.g., to delineate potential areas for nature -conservation. With this addon you can identify regions of contiguous -cells that have a suitability score above a certain threshold and a +Often, the next step is to use this suitability map to identify +suitable area/region, e.g., to delineate potential areas for nature +conservation. With this addon you can identify regions of contiguous +cells that have a suitability score above a certain threshold and a minimum size. There are a number of additional options explored below.

Option 1 - basic use

@@ -31,7 +31,7 @@

Option 1 - basic use

more.

-You would use this to find suitable areas for a species that cannot or +You would use this to find suitable areas for a species that cannot or is not likely to venture into areas where conditions are not optimal.

Option 2 - focal area

@@ -67,16 +67,16 @@

Option 2 - focal area

or above the given threshold.

-As in the first use case, the selected raster cells are clumped into -contiguous regions, and regions that are smaller than an user-defined -size are removed. This option would be a good choice if the target -species has no problem to briefly stay in non-suitable habitat, e.g., -to cross it on their way to more suitable habitat. As the example below +As in the first use case, the selected raster cells are clumped into +contiguous regions, and regions that are smaller than an user-defined +size are removed. This option would be a good choice if the target +species has no problem to briefly stay in non-suitable habitat, e.g., +to cross it on their way to more suitable habitat. As the example below shows, it results in larger regions than in the previous option.

-
Figure 2: Like figure 1, but based on -the median suitability scores of the neighboring cells within a radius +
Figure 2: Like figure 1, but based on +the median suitability scores of the neighboring cells within a radius of 300 meter (3x3 moving window).

Option 3 - barriers

@@ -88,32 +88,32 @@

Option 3 - barriers

option 2.

-The minimum suitability score can be used to identify barriers or areas -where a species cannot cross. For example, a road can break up larger -regions of otherwise suitable habitats into smaller fragments. For -species that cannot cross roads, this effectively results in smaller -isolated populations rather than one large (meta-)population. It can -even result in a net loss of habitat if one or more of the fragments -are too small to maintain a population (the user can set a minimum area +The minimum suitability score can be used to identify barriers or areas +where a species cannot cross. For example, a road can break up larger +regions of otherwise suitable habitats into smaller fragments. For +species that cannot cross roads, this effectively results in smaller +isolated populations rather than one large (meta-)population. It can +even result in a net loss of habitat if one or more of the fragments +are too small to maintain a population (the user can set a minimum area size to account for this).

-
Figure 3: Like figure 2, but -considering raster cells with suitability 0 (mostly roads) as absolute -barriers. Diagonally connected raster cells are not considered to form +
Figure 3: Like figure 2, but +considering raster cells with suitability 0 (mostly roads) as absolute +barriers. Diagonally connected raster cells are not considered to form a contiguous region.

-Note that for line elements like roads, results may differ if the -option to 'include the diagonal neighbors when defining clumps' (flag -d) is selected. For example, in figure 4, diagonally connected cells -are considered as neighbors. As a consequence, the suitable areas on -both sides of the road are considered to be part of the same region. +Note that for line elements like roads, results may differ if the +option to 'include the diagonal neighbors when defining clumps' (flag +d) is selected. For example, in figure 4, diagonally connected cells +are considered as neighbors. As a consequence, the suitable areas on +both sides of the road are considered to be part of the same region. I.e., the road does not act as a barrier here.

-
Figure 4: Like figure 3, but this time, -diagonally connected raster cells are considered to form a contiguous +
Figure 4: Like figure 3, but this time, +diagonally connected raster cells are considered to form a contiguous region.

Option 4 - compact areas

@@ -123,35 +123,35 @@

Option 4 - compact areas

Only gaps smaller than a user-defined maximum size will be included.

-This option can be used to end up with more compact areas. This may be -desirable for visualisation purposes, or it may in fact be acceptable +This option can be used to end up with more compact areas. This may be +desirable for visualisation purposes, or it may in fact be acceptable to include such areas in the final selection of a region.

-
Figure 5: Like figure 3 (left), but -here gaps (areas within a suitable region) of 500 hectares or less were -included in the final selection (middle). The right map shows the -suitable areas within the selected regions (green) and the filled gaps +
Figure 5: Like figure 3 (left), but +here gaps (areas within a suitable region) of 500 hectares or less were +included in the final selection (middle). The right map shows the +suitable areas within the selected regions (green) and the filled gaps (yellow).

-Selecting this option will generate a second map which shows the -'filled patches'. This makes it easier to e.g., inspect the feasibility +Selecting this option will generate a second map which shows the +'filled patches'. This makes it easier to e.g., inspect the feasibility or desirability to actually include these areas in a protected area.

Compactness of the regions

-To compare the compactness of the resulting regions, the compactness of -an area is calculated using the formula below (see also v.to.db.

compactness = perimeter / (2 * sqrt(PI * area))

-This will create a layer with the basename with the suffix -'compactness'. The compactness will also be calculated as one of the -region statistics if the option to save the result as a vector layer is +This will create a layer with the basename with the suffix +'compactness'. The compactness will also be calculated as one of the +region statistics if the option to save the result as a vector layer is selected (see under 'other options' below.

Other options

@@ -165,12 +165,12 @@

Other options

the surface area (in hectares) of the clumped regions (flag a).

-Selecting the 'v' flag will create a vector layer with the regions. The -attribute table of this vector layer will include columns with the -surface area (m2), compactness, fractal dimension (fd), and -average suitability. For the meaning of compactness, see above. The -fractal dimension of the boundary of a polygon is calculated using the -formula below (see also fd), and +average suitability. For the meaning of compactness, see above. The +fractal dimension of the boundary of a polygon is calculated using the +formula below (see also v.to.db.

@@ -192,8 +192,8 @@

NOTE

Examples

-See this +See this tutorial for examples.

See also

@@ -207,14 +207,14 @@

See also

REQUIREMENTS

-If you use the option to compute the area per clump (using the +If you use the option to compute the area per clump (using the -a flag), you need to install the r.area module first.

AUTHOR

-Paulo van Breugel, paulo at ecodiv.earth
HAS green academy
Innovative -biomonitoring research group
Climate-robust +Paulo van Breugel, paulo at ecodiv.earth
HAS green academy
Innovative +biomonitoring research group
Climate-robust Landscapes research group diff --git a/src/temporal/t.rast.boxplot/t.rast.boxplot.html b/src/temporal/t.rast.boxplot/t.rast.boxplot.html index a5f68fccf7..0fc1657cb7 100644 --- a/src/temporal/t.rast.boxplot/t.rast.boxplot.html +++ b/src/temporal/t.rast.boxplot/t.rast.boxplot.html @@ -83,7 +83,7 @@

EXAMPLE

First download the North Carolina sample data set from this link. Unzip the sample GRASS GIS dataset to a convenient location -on your computer. Next, download the +on your computer. Next, download the MODIS LST mapset and unzip it within the NC project. Now, open the mapset in GRASS GIS. diff --git a/src/temporal/t.rast.line/t.rast.line.html b/src/temporal/t.rast.line/t.rast.line.html index 491289657e..30d719520e 100644 --- a/src/temporal/t.rast.line/t.rast.line.html +++ b/src/temporal/t.rast.line/t.rast.line.html @@ -1,99 +1,99 @@

DESCRIPTION

-t.rast.line draws trend lines of the average values of the -input raster layers in a space-time raster dataset (strds). The trend -line represents the average values of the current computational region. -The user can optionally show an error bar for each trend line -using the error option. The error bar can be based on the -standard deviation (SD) or standard error (SE). The user can multiply -the SD or SE to increase or decrease the width of the error band using -the n option. - -

-If a zonal raster map is provided, using the zones option, trend -lines are plotted for each zone (category) in the zonal raster layer. -The zonal raster should be a single, static integer raster map. - -

-

-Trend lines for three land cover 
-categories of the FCover for the fraction of green vegetation cover for 
-the period 2014-2019.
Trend lines (average -± SD) for three land cover categories of the FCover for the +t.rast.line draws trend lines of the average values of the +input raster layers in a space-time raster dataset (strds). The trend +line represents the average values of the current computational region. +The user can optionally show an error bar for each trend line +using the error option. The error bar can be based on the +standard deviation (SD) or standard error (SE). The user can multiply +the SD or SE to increase or decrease the width of the error band using +the n option. + +

+If a zonal raster map is provided, using the zones option, trend +lines are plotted for each zone (category) in the zonal raster layer. +The zonal raster should be a single, static integer raster map. + +

+

+Trend lines for three land cover
+categories of the FCover for the fraction of green vegetation cover for
+the period 2014-2019.
Trend lines (average +± SD) for three land cover categories of the FCover for the fraction of green vegetation cover for the period 2014-2019.

-The function will plot all rasters in the strds. Alternatively, the user +The function will plot all rasters in the strds. Alternatively, the user can select a subset of the raster layers using the WHERE conditions.

-By default, the resulting plot is displayed on a new screen. However, the -user can also save the plot to a file using the output option. The -format is determined by the extension given by the user. So, if output -= outputfile.png, the plot will be saved as a *png* file. The user can +By default, the resulting plot is displayed on a new screen. However, the +user can also save the plot to a file using the output option. The +format is determined by the extension given by the user. So, if output += outputfile.png, the plot will be saved as a *png* file. The user can set the output size (in inches) and resolution (dpi).

-There are a few plot format and layout options, including the option to -plot grid lines and the legend, rotate the labels, change the font size +There are a few plot format and layout options, including the option to +plot grid lines and the legend, rotate the labels, change the font size of the labels, and change the date format.

-If a zonal map is provided, the lines will take the colors of the -categories on that map. If the zonal map does not have a color table, +If a zonal map is provided, the lines will take the colors of the +categories on that map. If the zonal map does not have a color table, the lines will be assigned random colors.

-The default format of the date-time labels on the x-axis depend on the -temporal granularity of the data. This can be changed by the user using -the date_format option. For a list of options, see the date_format option. For a list of options, see the Python strftime cheatsheet.

-The where options allows allows performing different selections -of maps registered in the space-time datasets. For example, with -start_time < '2020-01-01' the time series is limited to all -maps with a start time before the given date. For more details, see this +The where options allows allows performing different selections +of maps registered in the space-time datasets. For example, with +start_time < '2020-01-01' the time series is limited to all +maps with a start time before the given date. For more details, see this page for more details.

NOTE

-The user can specify the number of threads to be used with the nprocs -parameter. However, note that parallelization does not work when the -MASK is set. If speed is an issue, it is recommended to create a new -zonal layer using, e.g., r.mapcalc, remove the MASK and use +The user can specify the number of threads to be used with the nprocs +parameter. However, note that parallelization does not work when the +MASK is set. If speed is an issue, it is recommended to create a new +zonal layer using, e.g., r.mapcalc, remove the MASK and use the newly created zonal layer.

-The t.rast.line module operates on the raster array defined by the -current region settings, not the original extent and resolution of the -input map. See g.region +The t.rast.line module operates on the raster array defined by the +current region settings, not the original extent and resolution of the +input map. See g.region to understand the impact of the region settings on the calculations.

EXAMPLE

-The next two examples use the North Carolina full (NC) and North -Carolina Climate 2000-2012 data sets, which can be downloaded from (this +The next two examples use the North Carolina full (NC) and North +Carolina Climate 2000-2012 data sets, which can be downloaded from (this download page).

-First step is to create temporal datasets tempmean and -precip_sum for the rainfall and temperature time -series respectively, as described in this -tutorial. These will serve as input for the examples below. The -landclass_96 raster layer in the PERMANENT mapset of the NC +First step is to create temporal datasets tempmean and +precip_sum for the rainfall and temperature time +series respectively, as described in this +tutorial. These will serve as input for the examples below. The +landclass_96 raster layer in the PERMANENT mapset of the NC project (location) will be used as zonal map.

Example 1

-Plot the tempmean time series. Note that you can speed up the process -considerably by making use of the cores and threads of your computer. -You can set the number of threads to be used with the nprocs -option. +Plot the tempmean time series. Note that you can speed up the process +considerably by making use of the cores and threads of your computer. +You can set the number of threads to be used with the nprocs +option.

@@ -108,8 +108,8 @@ 

Example 1

Example 2

-Plot the rainfall time series. Set the color of the line to green, and -choose the option to plot an error band based on the standard +Plot the rainfall time series. Set the color of the line to green, and +choose the option to plot an error band based on the standard deviation using the error option.

@@ -124,9 +124,9 @@

Example 2

Example 3

-Now, compare the temporal rainfall patterns in the inland Avery County -and Brunswick County on the coast. Set the flag -l to include a -legend. +Now, compare the temporal rainfall patterns in the inland Avery County +and Brunswick County on the coast. Set the flag -l to include a +legend.

@@ -141,20 +141,20 @@ 

Example 3

- +

-Because the zonal map does not have a color table, the lines have a -random color. +Because the zonal map does not have a color table, the lines have a +random color.

Example 4

-If you want the colors of the trend lines to match the color of the -zonal categories, make sure to define the category colors. +If you want the colors of the trend lines to match the color of the +zonal categories, make sure to define the category colors.

@@ -169,8 +169,8 @@ 

Example 4

-Whether this was the right color choice is debatable, but, the colors -of the graph match those of the zones of the map. Note that with the +Whether this was the right color choice is debatable, but, the colors +of the graph match those of the zones of the map. Note that with the g flag, vertical grid lines are drawn.

@@ -180,8 +180,8 @@

Example 4

Example 5

-You can zoom in on a specific period using the where option. -For example, to plot the trend line for the time period 01-01-2004 to +You can zoom in on a specific period using the where option. +For example, to plot the trend line for the time period 01-01-2004 to 01-01-2010, you can use the following:

@@ -192,9 +192,9 @@

Example 5

-When using greater than (>), the date alone is not enough, also also -the time needs to be set explicitly. This is not needed when using -smaller than (<). +When using greater than (>), the date alone is not enough, also also +the time needs to be set explicitly. This is not needed when using +smaller than (<).

@@ -203,9 +203,9 @@

Example 5

Example 6

-If you want to create and compare two plots, it might be useful to -force both to use a specific scale by using the y_axis_limits -parameter and the same y-axis label by using the y_label +If you want to create and compare two plots, it might be useful to +force both to use a specific scale by using the y_axis_limits +parameter and the same y-axis label by using the y_label parameter.

diff --git a/src/vector/v.boxplot/v.boxplot.html b/src/vector/v.boxplot/v.boxplot.html index 8b7dbab168..59e091a6d6 100644 --- a/src/vector/v.boxplot/v.boxplot.html +++ b/src/vector/v.boxplot/v.boxplot.html @@ -9,10 +9,10 @@

DESCRIPTION

with for each group a separate boxplot.

-By default, the resulting plot is displayed on screen (default). -However, the user can also save the plot to file using the -plot_output option. The format is determined by the extension -given by the user. So, if plot_output = outputfile.pngtt>, the +By default, the resulting plot is displayed on screen (default). +However, the user can also save the plot to file using the +plot_output option. The format is determined by the extension +given by the user. So, if plot_output = outputfile.pngtt>, the plot will be saved as a png file.

@@ -35,9 +35,9 @@

Example 1

-

-v.boxplot: Boxplot of core capacity of 
-schools in Wake County.
Figure 1: Boxplot of +
+v.boxplot: Boxplot of core capacity of
+schools in Wake County.
Figure 1: Boxplot of core capacity of schools in Wake County.

Example 2

@@ -54,10 +54,10 @@

Example 2

-

v.boxplot: 
-Boxplot of core capacity of schools in Wake County, grouped by city
Figure 2: Boxplot of core capacity of schools +
v.boxplot:
+Boxplot of core capacity of schools in Wake County, grouped by city
Figure 2: Boxplot of core capacity of schools in Wake County, grouped by city.

SEE ALSO

diff --git a/src/vector/v.maxent.swd/v.maxent.swd.html b/src/vector/v.maxent.swd/v.maxent.swd.html index 5eccdd8bc8..f972d351d4 100644 --- a/src/vector/v.maxent.swd/v.maxent.swd.html +++ b/src/vector/v.maxent.swd/v.maxent.swd.html @@ -1,44 +1,44 @@

DESCRIPTION

-The v.maxent.swd takes one or more point vector layers with -the location of species presence locations (parameter: species), -and a set of raster layers representing relevant environmental -variables (parameter: evp_maps). For all point locations, it -reads in the values of the environmental raster layers. The resulting -point layers(s) are combined in one layer and this is exported as a SWD +The v.maxent.swd takes one or more point vector layers with +the location of species presence locations (parameter: species), +and a set of raster layers representing relevant environmental +variables (parameter: evp_maps). For all point locations, it +reads in the values of the environmental raster layers. The resulting +point layers(s) are combined in one layer and this is exported as a SWD file that can be used as input for MaxEnd 3.4 or higher.

-The user can also provide a point layer with background points -(parameter: bgp). Alternatively, a user-defined number of -background points can be generated automatically, respecting the -computational region and MASK. In either case, for all point locations, -the function reads in the values of the environmental raster layers. -The resulting point layer is exported as a SWD file. +The user can also provide a point layer with background points +(parameter: bgp). Alternatively, a user-defined number of +background points can be generated automatically, respecting the +computational region and MASK. In either case, for all point locations, +the function reads in the values of the environmental raster layers. +The resulting point layer is exported as a SWD file.

-If alias names are used, a CSV file (alias_file) can be created with -alias names in the first column and map names in the second column, +If alias names are used, a CSV file (alias_file) can be created with +alias names in the first column and map names in the second column, separated by comma, without a header.

NOTES

-The map names of both the species point layers and the environmental -parameters can be replaced by alias names, which will be used by +The map names of both the species point layers and the environmental +parameters can be replaced by alias names, which will be used by MaxEnt.

-The SWD file format is a simple comma-delimited text files. The first -three fields provide the species name, x-coordinate and y-coordinate, -while subsequent fields contain the values of the user-selected -environmental parameters. The files can be easily read in for example, +The SWD file format is a simple comma-delimited text files. The first +three fields provide the species name, x-coordinate and y-coordinate, +while subsequent fields contain the values of the user-selected +environmental parameters. The files can be easily read in for example, R and subsequently used in other models / functions.

-Maxent expects the n-s and e-w resolution to be the same. Following the -grass gis convention, the resolution of an exported raster is -determined by the region settings. So make sure to set the resolution -of the region so that the n-s and e-w resolution match. To accomplish +Maxent expects the n-s and e-w resolution to be the same. Following the +grass gis convention, the resolution of an exported raster is +determined by the region settings. So make sure to set the resolution +of the region so that the n-s and e-w resolution match. To accomplish this, you can use (replaced the *** for the desired resolution):

@@ -46,40 +46,40 @@ 

NOTES

-Alternatively, you can set the -e flag. This will run g.region -for you, adjusting the resolution so both the ns and ew resolutionn +Alternatively, you can set the -e flag. This will run g.region +for you, adjusting the resolution so both the ns and ew resolutionn match the smallest of the two, using nearest neighbor resampling.

-This addon is a vector-based alternative to r.out.maxent_swd. -It can be more efficient with sparse data points. The main difference -is that with this addon you can have more than one sample point per -raster cell. But note that you can use the -t flag to thin the -point layer so that there is never more than 1 point per raster cell. -Another difference is the option to export the predictor raster layers -to a user-defined folder. This can be used in Maxent, Maxnet addon for +This addon is a vector-based alternative to r.out.maxent_swd. +It can be more efficient with sparse data points. The main difference +is that with this addon you can have more than one sample point per +raster cell. But note that you can use the -t flag to thin the +point layer so that there is never more than 1 point per raster cell. +Another difference is the option to export the predictor raster layers +to a user-defined folder. This can be used in Maxent, Maxnet addon for R or other software.

EXAMPLES

-The examples below use a dataset that you can download from -here. It includes vector point layer with -observation locations of the pale-throated sloth (Bradypus -tridactylus) from GBIF, a number of bioclim -raster layers from WorldClim, -the IUCN -RedList range map of the species, and a boundary layer of the South -American countries from NaturalEarth. +The examples below use a dataset that you can download from +here. It includes vector point layer with +observation locations of the pale-throated sloth (Bradypus +tridactylus) from GBIF, a number of bioclim +raster layers from WorldClim, +the IUCN +RedList range map of the species, and a boundary layer of the South +American countries from NaturalEarth.

-The zip file contains a GRASS -location. Unzip it and put it in a GRASS GIS database. Next, open -GRASS GIS and go to the mapset southamerica. Download the zip +The zip file contains a GRASS +location. Unzip it and put it in a GRASS GIS database. Next, open +GRASS GIS and go to the mapset southamerica. Download the zip file, and unzip it in a GRASS GIS database.

@@ -94,53 +94,53 @@

EXAMPLES

-The output is a folder maxentinput with the SWD files -bgrd_swd.csv and spec_swd.csv and the accompanying proj files. The -latter provide information about the CRS, which might be useful if you -want to import the point layers in another software tools. In addition, -the example code creates the raster layers of the environmental layes +The output is a folder maxentinput with the SWD files +bgrd_swd.csv and spec_swd.csv and the accompanying proj files. The +latter provide information about the CRS, which might be useful if you +want to import the point layers in another software tools. In addition, +the example code creates the raster layers of the environmental layes in ascii format in the folder envlayers.

-The created data layers can be used as input for Maxent. -Alternatively, you can use it as input for the r.maxent.train -addon, which provides a convenient wrapper for the Maxent +The created data layers can be used as input for Maxent. +Alternatively, you can use it as input for the r.maxent.train +addon, which provides a convenient wrapper for the Maxent software.

SEE ALSO

    -
  • r.maxent.train addon to - create/train a Maxent model. The addon provides a wrapper to the +
  • r.maxent.train addon to + create/train a Maxent model. The addon provides a wrapper to the Maxent software.
  • - -
  • r.out.maxent_swd, an - alternative implementation of this addon, using species + +
  • r.out.maxent_swd, an + alternative implementation of this addon, using species distribution data in raster format.
  • - -
  • r.maxent.lambdas addon to - compute raw or logistic prediction maps from MaxEnt lambdas + +
  • r.maxent.lambdas addon to + compute raw or logistic prediction maps from MaxEnt lambdas files.

REFERENCES

    -
  • MaxEnt 3.4.1 ( - http://biodiversityinformatics.amnh.org/open_source/maxent)
  • -
  • Steven J. Phillips, Miroslav Dudík, Robert E. Schapire. A - maximum entropy approach to species distribution modeling. In - Proceedings of the Twenty-First International Conference on Machine +
  • MaxEnt 3.4.1 ( + http://biodiversityinformatics.amnh.org/open_source/maxent)
  • +
  • Steven J. Phillips, Miroslav Dudík, Robert E. Schapire. A + maximum entropy approach to species distribution modeling. In + Proceedings of the Twenty-First International Conference on Machine Learning, pages 655-662, 2004.
  • -
  • Steven J. Phillips, Robert P. Anderson, Robert E. Schapire. - Maximum entropy modeling of species geographic distributions. +
  • Steven J. Phillips, Robert P. Anderson, Robert E. Schapire. + Maximum entropy modeling of species geographic distributions. Ecological Modelling, 190:231-259, 2006.
  • -
  • Jane Elith, Steven J. Phillips, Trevor Hastie, Miroslav Dudík, - Yung En Chee, Colin J. Yates. A statistical explanation of MaxEnt +
  • Jane Elith, Steven J. Phillips, Trevor Hastie, Miroslav Dudík, + Yung En Chee, Colin J. Yates. A statistical explanation of MaxEnt for ecologists. Diversity and Distributions, 17:43-57, 2011.
  • -
  • GBIF.org (12 November 2023) GBIF Occurrence Download +
  • GBIF.org (12 November 2023) GBIF Occurrence Download https://doi.org/10.15468/dl.br8b4a
@@ -150,10 +150,9 @@

AUTHOR

HAS green academy University of Applied Sciences
-Innovative +Innovative Biomonitoring research group
-Climate-robust +Climate-robust Landscapes research group - diff --git a/src/vector/v.multi2singlepart/v.multi2singlepart.html b/src/vector/v.multi2singlepart/v.multi2singlepart.html index 5a5012faac..00958ecf89 100644 --- a/src/vector/v.multi2singlepart/v.multi2singlepart.html +++ b/src/vector/v.multi2singlepart/v.multi2singlepart.html @@ -1,27 +1,27 @@

DESCRIPTION

-v.multi2singlepart creates a vector layer containing -singlepart polygon features generated by separating the multipart -features of the input vector layer. The attributes of the input layer -will be maintained in the output vector layer. Singlepart features will +v.multi2singlepart creates a vector layer containing +singlepart polygon features generated by separating the multipart +features of the input vector layer. The attributes of the input layer +will be maintained in the output vector layer. Singlepart features will not be affected.

-

-From multipart to singlepart features +From multipart to singlepart features
From multipart to singlepart polygons.

NOTES

-To go from singlepart to multipart features, use the +To go from singlepart to multipart features, use the v.dissolve function (see example below).

EXAMPLES

-The example uses the layer boundary_municp from the North -Carolina dataset. You can download the sample data set from the boundary_municp
from the North +Carolina dataset. You can download the sample data set from the GRASS GIS website
@@ -33,8 +33,8 @@

EXAMPLES

SEE ALSO

- v.dissolve + v.dissolve diff --git a/src/vector/v.scatterplot/v.scatterplot.html b/src/vector/v.scatterplot/v.scatterplot.html index c1955790e9..7c04fdff86 100644 --- a/src/vector/v.scatterplot/v.scatterplot.html +++ b/src/vector/v.scatterplot/v.scatterplot.html @@ -1,63 +1,63 @@

DESCRIPTION

-v.scatterplot draws a scatterplot of the value in one column -against the values in another column. There are a few layout -options, including the option to set the color of the dots, the color, -line type, and width of the trend line, and the font size of the axis +v.scatterplot draws a scatterplot of the value in one column +against the values in another column. There are a few layout +options, including the option to set the color of the dots, the color, +line type, and width of the trend line, and the font size of the axis and tic labels.

-Instead of a fixed color, dots can be colored using colors from a -user-defined column, or by the spatial density of nearby points, using -the option type=density. The spatial density is computed by -grouping the points in 2D bins. The number of bins along the x-axis and -y-axis is user-defined. The user can select a color map from a list of -sequential colormaps and perceptually uniform sequential colormaps. See -the matplotlib -manual page for details. Use the -r flag to reverse the -order of the colors. +Instead of a fixed color, dots can be colored using colors from a +user-defined column, or by the spatial density of nearby points, using +the option type=density. The spatial density is computed by +grouping the points in 2D bins. The number of bins along the x-axis and +y-axis is user-defined. The user can select a color map from a list of +sequential colormaps and perceptually uniform sequential colormaps. See +the matplotlib +manual page for details. Use the -r flag to reverse the +order of the colors.

-By default, the resulting plot is displayed on screen (default). -However, the user can also save the plot to a file using the -file_name option. The format is determined by the extension -given by the user. So, if file_name = outputfile.png, the plot +By default, the resulting plot is displayed on screen (default). +However, the user can also save the plot to a file using the +file_name option. The format is determined by the extension +given by the user. So, if file_name = outputfile.png, the plot will be saved as a PNG file.

-A linear or polynomial trend line with user-defined degrees can be -drawn on top of the scatter/density plot. If this option is enables, +A linear or polynomial trend line with user-defined degrees can be +drawn on top of the scatter/density plot. If this option is enables, the R2 and trend line equation are printed to the commmand line.

-A confidence ellipse of the covariance of the two variables can be -plotted on top of the scatterplot, following the method described here, -and using the code described here. -The radius of the ellipse can be controlled by n which is the -number of standard deviations (SD). The default is 2 SD, which results -in an ellipse that encloses around 95% of the points. Optionally, -separate confidence ellipses can be drawn for groups defined in the -column groups. Groups can be assigned a random color, or a color -based on the RGB colors in a user-defined column. Note, all records in +A confidence ellipse of the covariance of the two variables can be +plotted on top of the scatterplot, following the method described here, +and using the code described here. +The radius of the ellipse can be controlled by n which is the +number of standard deviations (SD). The default is 2 SD, which results +in an ellipse that encloses around 95% of the points. Optionally, +separate confidence ellipses can be drawn for groups defined in the +column groups. Groups can be assigned a random color, or a color +based on the RGB colors in a user-defined column. Note, all records in the group should have the same color.

-The user has the option to limit/expand the X-axis -(x_axis_limits) and Y-axis (y_axis_limits). This can +The user has the option to limit/expand the X-axis +(x_axis_limits) and Y-axis (y_axis_limits). This can e.g., make it easier to compare different plots.

EXAMPLES

Example 1

-For the examples below, the NCA sample data set from GRASS GIS website +For the examples below, the NCA sample data set from GRASS GIS website will be used -

Create a new mapset and Use the layer +

Create a new mapset and Use the layer lsat7_2002_10@PERMANENT to set the region.

@@ -67,7 +67,7 @@ 

Example 1

-Get the list of Landsat layers from the Permanent mapset. Use this as +Get the list of Landsat layers from the Permanent mapset. Use this as input for i.pca to create principal component layers.

@@ -77,9 +77,9 @@ 

Example 1

-Create 5000 random points, retrieve the raster value from the first two -PCA layers for each point location of the random points, and write -these values to the columns pca_1 and pca_2 in the +Create 5000 random points, retrieve the raster value from the first two +PCA layers for each point location of the random points, and write +these values to the columns pca_1 and pca_2 in the attribute table of randompoints.

@@ -90,8 +90,8 @@ 

Example 1

-Create a scatterplot, plotting the values from the column -pca_1 on the X-axis and pca_2 on the Y-asix, with +Create a scatterplot, plotting the values from the column +pca_1 on the X-axis and pca_2 on the Y-asix, with blue dots.

@@ -100,14 +100,14 @@ 

Example 1

-

 
-Scatterplot of pca_1 against pca_2
Figure 1. +

+Scatterplot of pca_1 against pca_2
Figure 1. Scatterplot of pca_1 against pca_2.
- +

Example 2

-Create a density scatter of the values from pca_1 and +Create a density scatter of the values from pca_1 and pca_2. Add a red dashed polynomial trend line with degree 2.
@@ -117,18 +117,18 @@ 

Example 2

-

 
-Density scatterplot of pca_1 against pca_2
-Figure 2. Density scatterplot of pca_1 against pca_2. The dashed red +

+Density scatterplot of pca_1 against pca_2
+Figure 2. Density scatterplot of pca_1 against pca_2. The dashed red line gives the polynomial trend line (R²=0.149)

Example 3

-Retrieves raster value from the raster layer landclass96, -and write these values to the column landuse in the attribute -table of randompoints. Next, transfer the raster colors of the -raster layer landclass96 to the new column RGB of the +Retrieves raster value from the raster layer landclass96, +and write these values to the column landuse in the attribute +table of randompoints. Next, transfer the raster colors of the +raster layer landclass96 to the new column RGB of the attribute table of randompoints. @@ -140,7 +140,7 @@

Example 3

-Create a scatterplot, using the colors from the RGB column. Set the +Create a scatterplot, using the colors from the RGB column. Set the size of the dots to 8.

@@ -149,21 +149,21 @@ 

Example 3

-

 
-Scatterplot of pca_1 against pca_1. Colors represent the land use 
-categories in the point locations based on the landclass96 map.
Figure 3. Scatterplot of pca_1 against pca_1. -Colors represent the land use categories in the point locations based +

+Scatterplot of pca_1 against pca_1. Colors represent the land use
+categories in the point locations based on the landclass96 map.
Figure 3. Scatterplot of pca_1 against pca_1. +Colors represent the land use categories in the point locations based on the landclass96 map.

Example 4

-Rename the PCA layers to remove the dots from the name. Next, use the -v.what.rast.label -addon to sample the values of the raster layers pca.1 and -pca.2, and the values + labels of the landclass96. +Rename the PCA layers to remove the dots from the name. Next, use the +v.what.rast.label +addon to sample the values of the raster layers pca.1 and +pca.2, and the values + labels of the landclass96. Add a column with the landclass colors using v.colors.
@@ -177,10 +177,10 @@ 

Example 4

-Extract the points with the categories forest (5), water (6) and -developed (1). Create a scatterplot of pca_1 against pca_2 and add the -2 SD confidence ellipse of the covariance of the two variables for -each of the land use categories, coloring both the dots and ellipses +Extract the points with the categories forest (5), water (6) and +developed (1). Create a scatterplot of pca_1 against pca_2 and add the +2 SD confidence ellipse of the covariance of the two variables for +each of the land use categories, coloring both the dots and ellipses using the landclass colors.

@@ -188,15 +188,15 @@ 

Example 4

where='landclass96_ID=1 OR landclass96_ID=5 OR landclass96_ID=6' \ output=forwatdev v.scatterplot -e map=forwatdev x=pca_1 y=pca_2 rgbcolumn=RGB s=5 \ - groups=landclass96 groups_rgb=RGB + groups=landclass96 groups_rgb=RGB

-

-
Figure 4. Scatterplot with confidence ellipses per land +
+
Figure 4. Scatterplot with confidence ellipses per land class. The radius of the ellipses is 2 SD.
@@ -215,8 +215,6 @@

SEE ALSO

AUTHOR

-Paulo van Breugel +Paulo van Breugel Applied Geo-information Sciences HAS green academy, University of Applied Sciences - -