Description Usage Arguments Details Value Note Author(s) Examples
This function is a wrapper for sf::st_crs, unless accepting
also UTM timezones (see details) and threating numeric character
strings
as integers.
1 |
x |
numeric, character, or object of class sf or sfc |
... |
other parameters passed to sf::st_crs. |
See sf::st_crs for details.
If x
is 0 < numeric <= 60, return crs
object for UTM timezone x
N;
if x
is numeric > 60, return crs
object for SRID x
;
if x
is character in the form nn
, nnN
or nnS
, being nn
a number 0 < nn <= 60,
return crs
object for UTM timezone x
N or x
S (N if not specified);
if x
is a different character, return crs
object for proj4string x
;
if wkt
is given, return crs
object for well-known-text representation wkt
;
if x
is of class sf
or sfc
, return its crs
object.
License: GPL 3.0
Luigi Ranghetti, phD (2018) ranghetti.l@irea.cnr.it
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.