rsaga.import.gdal {RSAGA} | R Documentation |
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.
rsaga.import.gdal(in.grid, out.grid, ...)
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 |
... |
additional arguments to be
passed to rsaga.geoprocessor |
The GDAL Raster Import module of SAGA imports grid data from various file formats using the Geospatial Data Abstraction Library (GDAL) by Frank Warmerdam. 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:
Alexander Brenning (R interface), Olaf Conrad / Andre Ringeler (SAGA module), Frank Warmerdam (GDAL)
GDAL website: http://www.gdal.org/
read.ascii.grid
, rsaga.esri.to.sgrd
, read.sgrd
,
read.Rd.grid