Handle transformation of various inla objects according to coordinate reference systems of sp::CRS or INLA::inla.CRS class.
Handle transformation of various inla objects according to coordinate reference systems of sp::CRS or INLA::inla.CRS class.
fm_spTransform(x, ...) ## Default S3 method: fm_spTransform(x, crs0, crs1, passthrough = FALSE, ...) ## S3 method for class 'SpatialPoints' fm_spTransform(x, CRSobj, passthrough = FALSE, ...) ## S3 method for class 'SpatialPointsDataFrame' fm_spTransform(x, CRSobj, passthrough = FALSE, ...) ## S3 method for class 'inla.mesh.lattice' fm_spTransform(x, CRSobj, passthrough = FALSE, ...) ## S3 method for class 'inla.mesh.segment' fm_spTransform(x, CRSobj, passthrough = FALSE, ...) ## S3 method for class 'inla.mesh' fm_spTransform(x, CRSobj, passthrough = FALSE, ...)
x |
The object that should be transformed from it's current CRS to a new CRS |
... |
Potential additional arguments |
crs0 |
The source sp::CRS or inla.CRS object |
crs1 |
The target sp::CRS or inla.CRS object |
passthrough |
Default is FALSE. Setting to TRUE allows objects with no CRS information to be passed through without transformation. |
CRSobj |
The target sp::CRS or inla.CRS object |
The default method handles low level transformation of raw coordinates.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.