Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

spTransform

spTransform for map projection and datum transformation


Description

spTransform for map projection and datum transformation

Usage

spTransform(x, CRSobj, ...)

Arguments

x

object to be transformed

CRSobj

object of class CRS, or of class character in which case it is converted to CRS

...

further arguments (ignored)

Value

object with coordinates transformed to the new coordinate reference system.

Note

Package rgdal provides the methods doing actual transformation, see spTransform; when rgdal cannot be loaded, an error message follows.


sp

Classes and Methods for Spatial Data

v1.4-5
GPL (>= 2)
Authors
Edzer Pebesma [aut, cre], Roger Bivand [aut], Barry Rowlingson [ctb], Virgilio Gomez-Rubio [ctb], Robert Hijmans [ctb], Michael Sumner [ctb], Don MacQueen [ctb], Jim Lemon [ctb], Finn Lindgren [ctb], Josh O'Brien [ctb], Joseph O'Rourke [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.