rsaga.import.gdal {RSAGA}R Documentation

Import Grid Files to SAGA grid format using GDAL

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

rsaga.import.gdal(in.grid, out.grid, ...)

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
... 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. 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:

VRT
Virtual Raster
GTiff
GeoTIFF
NITF
National Imagery Transmission Format
HFA
Erdas Imagine Images (.img)
SAR-CEOS
CEOS SAR Image
CEOS
CEOS Image
ELAS
ELAS
AIG
Arc/Info Binary Grid
AAIGrid
Arc/Info ASCII Grid
SDTS
SDTS Raster
DTED
DTED Elevation Raster
PNG
Portable Network Graphics
JPEG
JPEG JFIF
MEM
In Memory Raster
JDEM
Japanese DEM (.mem)
GIF
Graphics Interchange Format (.gif)
ESAT
Envisat Image Format
BSB
Maptech BSB Nautical Charts
XPM
X11 PixMap Format
BMP
MS Windows Device Independent Bitmap
PCIDSK
PCIDSK Database File
PNM
Portable Pixmap Format (netpbm)
DOQ1
USGS DOQ (Old Style)
DOQ2
USGS DOQ (New Style)
ENVI
ENVI .hdr Labelled
EHdr
ESRI .hdr Labelled
PAux
PCI .aux Labelled
MFF
Atlantis MFF Raster
MFF2
Atlantis MFF2 (HKV) Raster
FujiBAS
Fuji BAS Scanner Image
GSC
GSC Geogrid
FAST
EOSAT FAST Format
BT
VTP .bt (Binary Terrain) 1.3 Format
L1B
NOAA Polar Orbiter Level 1b Data Set
FIT
FIT Image
USGSDEM
USGS Optional ASCII DEM
GXF
GeoSoft Grid Exchange Format

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


[Package RSAGA version 0.9-4 Index]