R/spTransform.r

#' spTransform for GeolocationPoints
#' 
#' Transforms GeolocationPoints to coordinate reference system 
#' (see \code{\link[sp]{spTransform}}).
#' 
#' @param x Object of the \code{\link{SAR-class}} or a subclass (e.g. \code{\link{Sentinel-class}} or \code{\link{TSX-class}}).
#' @param CRSobj Object of class \code{\link[sp]{CRS-class}}, or of class character in which case it is converted to \code{\link[sp]{CRS-class}}.
#' @param ... Further arguments to \code{\link[sp]{spTransform}}.
#' @seealso \code{\link{sarProject}}, \code{\link[sp]{spTransform}}, \code{\link[sp]{CRS-class}}
#' @rdname spTransform
#' @export 
setMethod('spTransform', c('GeolocationPoints', 'CRS'),
          function(x, CRSobj, ...) {
              new('GeolocationPoints', callNextMethod(x, CRSobj, ...))
          })

Try the ragram package in your browser

Any scripts or data that you put into this service are public.

ragram documentation built on May 2, 2019, 4:42 p.m.