get_crs | R Documentation |
Given possible user-inputs to specify a CRS, check validity and then convert the CRS labels into a URI accepted by the OS Data Hub.
get_crs(x, returnType = c("uri", "number", "code"))
x |
(character or numeric) The CRS for the, either in the format "epsg:xxxx" or an EPSG number. e.g. British National Grid can be supplied as "epsg:27700" or 27700. Available CRS values are: EPSG:27700, EPSG:4326, EPSG:7405, EPSG:3857, and CRS84. |
returnType |
(character) Should the URI to the CRS be returned
( |
Character string of a URI to the CRS specification.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.