-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.rmd
More file actions
52 lines (34 loc) · 1.83 KB
/
README.rmd
File metadata and controls
52 lines (34 loc) · 1.83 KB
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
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(out.width = "100%")
```
# polyCheck <img src="https://avatars1.githubusercontent.com/u/43346405?s=200&v=4" align="right" height="50" width="50" />
[](https://travis-ci.org/GRID3/polyCheck)
The package **polyCheck** provides functions which can be used to validate delineated polygons created as part of the GRID<sup>3</sup> project. The diagnostics check include:
- Polygon Geometry (area, perimeter, shape complexity etc.)
- Coordinate Reference Systems
- Polygon settlement type
- Does the polygon overlap previously surveyed areas.
It should be noted that the checks are designed to *support*, not *replace*, the manual verification process. It is still important that the outline of polygons is still
## Installation
To install the package, you can use the function:
```
devtools::install_github("GRID3/polyCheck")
```
## User Guide
To see how to use the package check out the vignettes:
- [Basics](articles/Basics.html)
- [Interactive Maps](articles/InteractiveMaps.html)
- [Reporting](articles/Reporting.html)
## Quick Examples
The package provides some useful functions for plotting interactive maps displaying the polygon and survey points. A basic example is shown below, with more options explained within explained in the [Interactive Maps](articles/InteractiveMaps.html) section.
```{r, echo = FALSE}
library(polyCheck)
poly_path <- system.file("extdata/polygons/001_js_polygon.shp", package = "polyCheck")
display_polygon(poly_path)
```
## Reporting Issues
The code is under development. If you experience any issues, please file a bug report on the [GitHub issues](https://github.com/GRID3/polyCheck/issues).