Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

geosphere_mercator

Transform longitude/latiude points to the Mercator projection.


Description

From geosphere::mercator

Usage

geosphere_mercator(p, inverse = FALSE, r = 6378137)

Arguments

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

Value

Mercator projection of lon/lat points

Author(s)

Markus Loecher


RgoogleMaps

Overlays on Static Maps

v1.4.5.3
GPL
Authors
Markus Loecher
Initial release
2020-02-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.