fmesher-deprecated | R Documentation |
These functions still attempt to do their job, but will be removed in a future version.
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(...)
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 |
fm_spTransform()
: (See
fm_transform()
instead)
Handle transformation of various inla objects according to coordinate
reference systems of sp::CRS
or INLA::inla.CRS
class.
fm_spTransform(default)
: The default method handles low level
transformation of raw coordinates.
Finn Lindgren Finn.Lindgren@gmail.com
fm_transform()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.