Usage
gdaltransform(srcfile, dstfile, coords, s_srs, t_srs, to, order, tps, rpc,
geoloc, i, gcp, output_xy, ignore.full_scan = TRUE, verbose = FALSE)
Arguments
srcfile
Character. File with source projection definition or GCP's. If not given, source projection is read from the command-line -s_srs or -gcp parameters.
dstfile
Character. File with destination projection definition.
coords
Matrix. A two-column matrix with coordinates.
s_srs
Character. source spatial reference set. The coordinate systems that can be passed are anything supported by the OGRSpatialReference.SetFromUserInput() call, which includes EPSG PCS and GCSes (ie. EPSG:4296), PROJ.4 declarations (as above), or the name of
t_srs
Character. target spatial reference set. The coordinate systems that can be passed are anything supported by the OGRSpatialReference.SetFromUserInput() call, which includes EPSG PCS and GCSes (ie. EPSG:4296), PROJ.4 declarations (as above), or the name of
to
Character. "NAME=VALUE". set a transformer option suitable to pass to GDALCreateGenImgProjTransformer2().
order
Numeric. order of polynomial used for warping (1 to 3). The default is to select a polynomial order based on the number of GCPs.
tps
Logical. Force use of thin plate spline transformer based on available GCPs.
rpc
Logical. Force use of RPCs.
geoloc
Logical. Force use of Geolocation Arrays.
i
Logical. Inverse transformation: from destination to source.
gcp
Character. pixel line easting northing [elevation]: Provide a GCP to be used for transformation (generally three or more are required)
output_xy
Logical. (GDAL >= 2.0) Restrict output to "x y" instead of "x y z"
ignore.full_scan
Logical. If FALSE, perform a brute-force scan if other installs are not found. Default is TRUE.
verbose
Logical. Enable verbose execution? Default is FALSE.