Description Usage Arguments Value Examples
Projects SAR object using gdalwarp.
| 1 2 3 4 5 6 7 8 9 10 11 12 | sarProject(object, suffix = "-latlon",
  dstfile = paste0(sub("\\.[[:alnum:]]+$", "",
  as.character(object@file@name)), suffix, ".tiff"), of = "GTiff",
  r = "bilinear", t_srs = "+init=epsg:4326", dstalpha = T,
  dstnodata = "NA", overwrite = F, ...)
## S4 method for signature 'SAR'
sarProject(object, suffix = "-latlon",
  dstfile = paste0(sub("\\.[[:alnum:]]+$", "",
  as.character(object@file@name)), suffix, ".tiff"), of = "GTiff",
  r = "bilinear", t_srs = "+init=epsg:4326", dstalpha = T,
  dstnodata = "NA", overwrite = F, ...)
 | 
| object | SAR object or character giving the address of a raster (e.g. GeoTiff). | 
| suffix | Character. This suffix is added to the image name in front of file extension. | 
| dstfile | Character. The destination file name. | 
| of | Character. Select the output format. The default is GeoTIFF (GTiff). Use the short format name. | 
| r | Character. resampling_method. ("near"|"bilinear"|"cubic"|"cubicspline"|"lanczos"|"average"|"mode"|"max"|"min"|"med"|"q1"|"q3"). | 
| 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 a .prf file containing well known text. | 
| dstalpha | Logical. Create an output alpha band to identify nodata (unset/transparent) pixels. | 
| dstnodata | Character. Set nodata values for output bands. | 
| overwrite | Logical. (GDAL >= 1.8.0) Overwrite the target dataset if it already exists. | 
| ... | Arguments of  | 
Character. The destination file name.
| 1 | # object@geolocationPoints <- spTransform(object@geolocationPoints, CRS(t_srs))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.