Learn R Programming

RSAGA (version 1.4.2)

SAGA Geoprocessing and Terrain Analysis

Description

Provides access to geocomputing and terrain analysis functions of the geographical information system (GIS) 'SAGA' (System for Automated Geoscientific Analyses) from within R by running the command line version of SAGA. This package furthermore provides several R functions for handling ASCII grids, including a flexible framework for applying local functions (including predict methods of fitted models) and focal functions to multiple grids. SAGA GIS is available under GPL-2 / LGPL-2 licences from .

Copy Link

Version

Install

install.packages('RSAGA')

Monthly Downloads

1,643

Version

1.4.2

License

GPL-2 | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Alexander Brenning

Last Published

February 4th, 2025

Functions in RSAGA (1.4.2)

RSAGA-package

RSAGA: SAGA Geoprocessing and Terrain Analysis in R
focal.function

Local and Focal Grid Functions
match.arg.ext

Extended Argument Matching
multi.focal.function

Local and Focal Grid Function with Multiple Grids as Inputs
create.variable.name

Convert file name to variable name
centervalue

Pick Center Value from Matrix
dem

DEM for the landslides dataset
pick.from.points

Pick Variable from Spatial Dataset
grid.predict

Helper function for applying predict methods to stacks of grids.
read.ascii.grid

Read/write ASCII, SAGA and Rd Grid Files
rsaga.contour

Contour Lines from a Grid
rsaga.copy.sgrd

Create a copy of a SAGA grid file
rsaga.add.grid.values.to.points

Add Grid Values to Point Shapefile
grid.to.xyz

Convert Grid Matrix to (x,y,z) data.frame
rsaga.close.gaps

SAGA Modules Close Gaps and Close One Cell Gaps
landslides

Landslide inventory data
rsaga.env

Function to set up RSAGA geoprocessing environment: Set up the RSAGA Geoprocessing Environment
rsaga.esri.to.sgrd

Convert ESRI ASCII/binary grids to SAGA grids
rsaga.esri.wrapper

Use RSAGA functions for ESRI grids
rsaga.get.modules.path

Internal functions that determine OS-specific path in which modules might be located.
rsaga.fill.sinks

Fill Sinks
rsaga.get.version

Determine SAGA GIS version
relative.position

Relative Topographic Position
rsaga.local.morphometry

Local Morphometry
rsaga.filter.gauss

Gauss Filter
resid.median

Residual Median and Quantile Filters for Grids
rsaga.grid.calculus

SAGA Module Grid Calculus
rsaga.inverse.distance

Spatial Interpolation Methods
rsaga.parallel.processing

Parallel Processing
rsaga.filter.simple

Simple Filters
rsaga.sink.removal

Sink Removal Remove sinks from a digital elevation model by deepening drainage routes or filling sinks.
rsaga.sink.route

Sink Drainage Route Detection
rsaga.insolation

Incoming Solar Radiation (Insolation)
rsaga.lib.prefix

Determine prefix for SAGA GIS library names
rsaga.pisr

Potential incoming solar radiation
rsaga.html.help

HTML help on a SAGA module or library
rsaga.pisr2

Potential incoming solar radiation SAGA 2.2.2+
rsaga.geoprocessor

Generic R interface for SAGA modules
rsaga.intersect.polygons

Spatial intersection of two polygon layers
rsaga.get.modules

Find SAGA libraries and modules
rsaga.get.usage

Usage of SAGA command line modules
rsaga.target

Define target grid for interpolation
rsaga.topdown.processing

Top-Down Processing
wind.shelter

Wind Shelter Index
rsaga.import.gdal

Import Grid Files to SAGA grid format using GDAL
rsaga.grid.to.points

Convert SAGA grid file to point shapefile
rsaga.union.polygons

Spatial union of two polygon layers
rsaga.hillshade

Analytical hillshading Analytical hillshading calculation.
rsaga.set.env

Internal function that sets the RSAGA Geoprocessing Evironment manually
rsaga.slope.asp.curv

Slope, Aspect, Curvature
rsaga.sgrd.to.esri

Convert SAGA grids to ESRI ASCII/binary grids
rsaga.solar.radiation

Potential incoming solar radiation
set.file.extension

Determine or modify file name extensions
study_area

Study area mask for the landslides dataset
rsaga.wetness.index

SAGA Modules SAGA Wetness Index