fm_CRS_as_list | R Documentation |
Wrappers for sp::CRS
and inla.CRS
objects to handle the
coordinate reference system argument string.
These methods should no longer be used with PROJ6/rgdal3;
see fm_wkt()
and fm_proj4string()
for a new approach.
fm_CRS_as_list(x, ...)
fm_list_as_CRS(x, ...)
fm_CRSargs(x, ...)
fm_list_as_CRSargs(x, ...)
fm_CRSargs_as_list(x, ...)
x |
An |
... |
Additional arguments passed on to other methods. |
For fm_CRSargs
and fm_list_as_CRSargs
, a character
string with PROJ.4 arguments.
For fm_CRS_as_list
and fm_CRSargs_as_list
, a list of
name/value pairs.
For fm_list_as_CRS
, a CRS
or inla.CRS
object.
For fm_list_as_CRSargs()
, a CRS proj4 string for name=value pair list
For fm_CRSargs_as_list()
, a list of name=value pairs from CRS proj4 string
Finn Lindgren finn.lindgren@gmail.com
fm_CRS()
crs0 <- fm_CRS("longlat_norm")
p4s <- fm_proj4string(crs0)
lst <- fm_CRSargs_as_list(p4s)
crs1 <- fm_list_as_CRS(lst)
lst$a <- 2
crs2 <- fm_CRS(p4s, args = lst)
print(fm_proj4string(crs0))
print(fm_proj4string(crs1))
print(fm_proj4string(crs2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.