Wrapper functions to allow more direct calling of rgdal C code
These functions allow more direct access to some of the rgdal C API. These are advanced methods intended for package developers only.
GDALcall(object, option, ...) rawTransform(projfrom, projto, n, x, y, z=NULL, wkt=FALSE)
object |
GDALTransientDataset (option = 'SetGeoTransform', 'SetProject') or GDALRasterBand (the other options) |
option |
character. One of 'SetGeoTransform', 'SetProject', 'SetNoDataValue', 'SetStatistics', 'SetRasterColorTable' or 'SetCategoryNames') |
... |
additional arguments. The values to be set |
projfrom |
character. PROJ.4 coordinate reference system (CRS) description |
projto |
character. PROJ.4 CRS description |
n |
number of coordinates |
x |
x coordinates |
y |
y coordinates |
z |
z coordinates |
wkt |
default FALSE, if TRUE, the caller determines that projfrom and projto are wkt and that new_proj_and_gdal() returns TRUE to avoid multiple warnings when the function is called repetitively |
GDALcall does not return anything. rawTransform returns a matrix of transformed coordinates.
Robert Hijmans
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.