R-GIS

This is a collection of frequently used GIS operations in R. In this collection, we use R as a GIS independently from further GIS software (e.g. SAGA using RSAGA).

The GIS operations are separated into vector-and raster operations as well as tools which combine both data models. Furthermore, some examples for visualisations of geodata will be given.

Used Packages

The following packages are required for the GIS operations and visaulisations shown in this tutorial. First, they need to be installed and the libraries need to be loaded subsequently.

  #required packages:
Packages=c("sp","raster","maptools",
"plotKML","rgeos","dismo","maps",
"rgdal","MODIS","gdistance","openStreetMap")
#install packages (if not yet installed)
#lapply(Packages, install.packages, character.only=T)

install.packages("MODIS", repos="http://R-Forge.R-project.org",type="source")