gdal_translate: Convert raster between formats

Description Usage Arguments Value Author(s)

Description

R wrapper for gdal_translate

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
gdal_translate(
  input_files,
  out_filename = tempfile(pattern = "gdal_translate_out_", fileext = ".tif"),
  ot = NULL,
  strict = FALSE,
  of = NULL,
  b = NULL,
  mask = NULL,
  expand = NULL,
  outsize = NULL,
  tr = NULL,
  r = NULL,
  scale = NULL,
  exponent = NULL,
  unscale = FALSE,
  srcwin = NULL,
  projwin = NULL,
  projwin_srs = NULL,
  epo = FALSE,
  eco = FALSE,
  a_srs = NULL,
  a_scale = NULL,
  a_offset = NULL,
  a_ullr = NULL,
  a_nodata = NULL,
  colorinterp_X = NULL,
  colorinterp = NULL,
  mo = NULL,
  creation_option = NULL,
  gcp = NULL,
  q = FALSE,
  sds = FALSE,
  stats = FALSE,
  norat = FALSE,
  oo = NULL,
  dry_run = FALSE
)

Arguments

input_files

A character. Paths to the image files.

out_filename

A length-one character. The path to the destination file.

ot

A length-one character.

strict

A length-one logical. The default is FALSE.

of

A length-one character.

b

A character.

mask

A length-one character.

expand

A length-one character.

outsize

A length-two numeric. Output size in pixels.

tr

A length-two numeric. Target resolution in georeferenced

r

A length-one logical. The default is FALSE.

scale

A length two or four numeric.

exponent

A length-one numeric.

unscale

A length-one logical. The default is FALSE.

srcwin

A length-four numeric.

projwin

A length-four numeric.

projwin_srs

A length-one character.

epo

A length-one logical. The default is FALSE.

eco

A length-one logical. The default is FALSE.

a_srs

A length-one character.

a_scale

A length-one numeric.

a_offset

A length-one numeric.

a_ullr

A length-four numeric.

a_nodata

A length-one numeric.

colorinterp_X

A character.

colorinterp

A length-one character.

mo

A character.

creation_option

A character. Creation options for output file e.g. c('NAME1=VALUE1', 'NAME2=VALUE2').

gcp

A list of length-five numeric.

q

A length-one logical. The default is FALSE.

sds

A length-one logical. The default is FALSE.

stats

A length-one logical. The default is FALSE.

norat

A length-one logical. The default is FALSE.

oo

A character. Open options for input files e.g. c('NAME1=VALUE1', 'NAME2=VALUE2').

dry_run

A length-one logical. Do not run, just print the sytem call.

Value

A length-one character. out_filename.

Author(s)

Alber Sanchez, albequietr.ipia@inpe.br


albhasan/sits.starfm documentation built on Sept. 3, 2020, 4:03 p.m.