These functions still attempt to do their job, but will be removed in a future version.
Usage
fm_spTransform(x, ...)
# Default S3 method
fm_spTransform(x, crs0 = NULL, crs1 = NULL, passthrough = FALSE, ...)
# S3 method for class 'SpatialPoints'
fm_spTransform(x, CRSobj, passthrough = FALSE, ...)
# S3 method for class 'SpatialPointsDataFrame'
fm_spTransform(x, CRSobj, passthrough = FALSE, ...)
fm_sp2segment(...)
Arguments
- 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
Functions
fm_spTransform()
:(See
fm_transform()
instead) Handle transformation of various inla objects according to coordinate reference systems ofsp::CRS
orINLA::inla.CRS
class.fm_spTransform(default)
: The default method handles low level transformation of raw coordinates.fm_sp2segment()
:in favour of
fm_as_segm()
Author
Finn Lindgren Finn.Lindgren@gmail.com