-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.Rmd
109 lines (85 loc) · 3.82 KB
/
index.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
---
output:
github_document:
toc: yes
toc_depth: 2
fig_caption: no
---
<!-- IMPORTANT: do NOT edit README.Rmd! Edit index.Rmd instead, -->
<!-- and generate README.Rmd using utils/code/create_README.sh -->
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/"
)
```
[](https://doi.org/10.5281/zenodo.3843327)
[](https://travis-ci.com/ranghetti/guinterp)
[](http://www.gnu.org/licenses/gpl-3.0)
[](.github/CODE-OF-CONDUCT.md)
# GUInterp: a Shiny GUI for Spatial Interpolation
GUInterp is a Graphical User Interface (GUI) supporting the spatial interpolation of points data.
The purpose of the GUI is to provide graphical tools to perform the steps
commonly required to interpolate points data within defined borders:
filtering outliers,
defining a suitable variogram (in case of Kriging interpolation),
choosing the grid of the output raster and
setting the best options to weigh up computational speed and output accuracy.
GUInterp is currently in beta version.
## Installation
The package can be installed from GitHub:
```{r, eval = FALSE}
install.packages("remotes")
remotes::install_github("ranghetti/guinterp")
```
## Usage
The GUI can be launched with the following command:
```{r, eval = FALSE}
library(guinterp)
guinterp()
```
<p style="text-align:center;">
<a href="https://raw.githubusercontent.com/ranghetti/guinterp/master/man/figures/guinterp-0.png" target="_blank">
<img src="man/figures/guinterp-0_small.png">
</a>
</p>
Once opened, the GUI allows user to import a points dataset and an optional polygon
file of borders (alternatively, the bounding box of points is used).
Points data must contain the variable to be interpolated (a selector allows
selecting it).
In case multiple polygons are loaded, they can be treated as separate objects
during interpolation.
After loading files, the main GUI appears.
In the left column, data can visualised thanks to a histogram and a map;
both of them highlight filtered vs. non-filtered points.
The right column incudes parameter selectors, organised in four boxes:
- **Filter data** contains selectors useful to filter data;
- **Output format** allows defining the output raster grid;
- **Interpolation settings** allows choosing the interpolation method
(IDW or Kriging) and, in this case, defining the semivariogram model
with another interactive interface;
- **Processing settings** includes fine-tuning settings to speed-up interpolation.
## Credits
GUInterp is being developed by Luigi Ranghetti and Lorenzo Busetto
([IREA-CNR](http://www.irea.cnr.it)),
and it is released under the [GNU General Public License version 3](https://www.gnu.org/licenses/gpl-3.0.html) (GPL‑3).
To cite this package, please use the following entry:
L. Ranghetti and L. Busetto (`r strftime(Sys.Date(),"%Y")`).
**GUInterp: a Shiny GUI to support spatial interpolation**.
R package version 0.2.6.
DOI: [10.5281/zenodo.3843327](https://dx.doi.org/10.5281/zenodo.3843327).
URL: [http://guinterp.ranghetti.info/](http://guinterp.ranghetti.info/).
```bibtex
@Manual{guinterp_rpkg,
title = {GUInterp: a Shiny GUI for Spatial Interpolation},
author = {Ranghetti, Luigi and Busetto, Lorenzo},
year = {`r strftime(Sys.Date(),"%Y")`},
note = {R package version 0.2.6},
doi = {10.5281/zenodo.3843327},
url = {http://guinterp.ranghetti.info/},
}
```
## Contributing
This project is released with a [Contributor Code of Conduct](.github/CODE-OF-CONDUCT.md).
By participating in this project you agree to abide by its terms.