wk_crs_proj_definition | R Documentation |
CRS object generic methods
wk_crs_proj_definition(crs, proj_version = NULL, verbose = FALSE)
wk_crs_projjson(crs)
## S3 method for class ''NULL''
wk_crs_proj_definition(crs, proj_version = NULL, verbose = FALSE)
## S3 method for class 'wk_crs_inherit'
wk_crs_proj_definition(crs, proj_version = NULL, verbose = FALSE)
## S3 method for class 'character'
wk_crs_proj_definition(crs, proj_version = NULL, verbose = FALSE)
## S3 method for class 'double'
wk_crs_proj_definition(crs, proj_version = NULL, verbose = FALSE)
## S3 method for class 'integer'
wk_crs_proj_definition(crs, proj_version = NULL, verbose = FALSE)
crs |
An arbitrary R object |
proj_version |
A |
verbose |
Use |
wk_crs_proj_definition()
Returns a string used to represent the
CRS in PROJ. For recent PROJ version you'll want to return PROJJSON;
however you should check proj_version
if you want this to work with
older versions of PROJ.
wk_crs_projjson()
Returns a PROJJSON string or NA_character_ if this
representation is unknown or can't be calculated.
wk_crs_proj_definition("EPSG:4326")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.