geosphere_mercator | R Documentation |
From geosphere::mercator
geosphere_mercator(p, inverse = FALSE, r = 6378137)
p |
longitude/latitude of point(s). Can be a vector of two numbers, a matrix of 2 columns (first one is longitude, second is latitude) |
inverse |
Logical. If TRUE, do the inverse projection (from Mercator to longitude/latitude |
r |
Numeric. Radius of the earth; default = 6378137 m |
Mercator projection of lon/lat points
Markus Loecher
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.