The goal of rgeopat2
is to enhance the functionality of
geoPAT 2.
Get the released version from CRAN:
install.packages("rgeopat2")
Get the development version from github:
# install.packages("devtools")
::install_github("Nowosad/rgeopat2") devtools
This is a basic example which shows you how to create a grid polygon based on the geoPAT 2 header file:
library(rgeopat2)
= system.file("rawdata/Augusta2011_grid100.hdr", package = "rgeopat2")
header_filepath = gpat_create_grid(header_filepath)
my_grid plot(my_grid)
More examples can be found in GeoPAT 2 manual.