spTransform function

spTransform for map projection and datum transformation

spTransform for map projection and datum transformation

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)

Returns

object with coordinates transformed to the new coordinate reference system.

Note

Package sf provides the methods doing actual transformation.

  • Maintainer: Edzer Pebesma
  • License: GPL (>= 2)
  • Last published: 2025-02-01