rsaga.import.gdal: Import Grid Files to SAGA grid format using GDAL

Description Usage Arguments Details Author(s) References See Also

Description

These functions provide simple interfaces for reading and writing grids from/to ASCII grids and Rd files. Grids are stored in matrices, their headers in lists.

Usage

1
rsaga.import.gdal(in.grid, out.grid, env = rsaga.env(), ...)

Arguments

in.grid

file name of a grid in a format supported by GDAL

out.grid

output SAGA grid file name; defaults to in.grid with the file extension being removed; file extension should not be specified, it defaults to .sgrd

env

RSAGA geoprocessing environment created by rsaga.env

...

additional arguments to be passed to rsaga.geoprocessor

Details

The GDAL Raster Import module of SAGA imports grid data from various file formats using the Geospatial Data Abstraction Library (GDAL) by Frank Warmerdam. GDAL Versions are specific to SAGA versions:

More information is available at http://www.gdal.org/.

If in.grid has more than one band (e.g. RGB GEOTIFF), then output grids with file names of the form in.grid_01.sgrd, in.grid_02.sgrd etc. are written, one for each band.

The following raster formats are currently supported. Last updated for SAGA GIS 2.2.3; for a list for a specific SAGA GIS version call rsaga.html.help("io_gdal","GDAL: Import Raster", env = rsaga.env(path="SAGA_Version_to_Test"))

Author(s)

Alexander Brenning (R interface), Olaf Conrad / Andre Ringeler (SAGA module), Frank Warmerdam (GDAL)

References

GDAL website: http://www.gdal.org/

See Also

read.ascii.grid, rsaga.esri.to.sgrd, read.sgrd, read.Rd.grid


debangs/RSAGA documentation built on May 15, 2019, 1:53 a.m.