Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Nowosad/rgeopat2
Supports analysis of spatial data processed with the 'GeoPAT' 2 software
https://github.com/Nowosad/rgeopat2
geopat
Last synced: 3 months ago
JSON representation
Supports analysis of spatial data processed with the 'GeoPAT' 2 software
- Host: GitHub
- URL: https://github.com/Nowosad/rgeopat2
- Owner: Nowosad
- License: other
- Created: 2017-10-23T14:26:21.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-09-18T12:29:30.000Z (about 1 year ago)
- Last Synced: 2024-07-11T18:43:50.287Z (4 months ago)
- Topics: geopat
- Language: R
- Homepage:
- Size: 1.41 MB
- Stars: 10
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-"
)
```# rgeopat2
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/rgeopat2)](https://cran.r-project.org/package=rgeopat2)
The goal of `rgeopat2` is to enhance the functionality of [geoPAT 2](https://github.com/Nowosad/geopat2).
## Installation
Get the released version from CRAN:
```{r cran-installation, eval = FALSE}
install.packages("rgeopat2")
```Get the development version from github:
```{r gh-installation, eval = FALSE}
# install.packages("devtools")
devtools::install_github("Nowosad/rgeopat2")
```## Example
This is a basic example which shows you how to create a grid polygon based on the geoPAT 2 header file:
```{r example}
library(rgeopat2)
header_filepath = system.file("rawdata/Augusta2011_grid100.hdr", package = "rgeopat2")
my_grid = gpat_create_grid(header_filepath)
plot(my_grid)
```More examples can be found in [GeoPAT 2 manual](https://rawgit.com/Nowosad/geopat2_manual/master/output/GeoPAT2_Manual.pdf).