marinus: Marinus Cylindrical Map Projection

Description Usage Arguments Value Author(s) Examples

View source: R/marinus.R

Description

This function converts x,y coordinates measured in units of latitude and longitude, i.e., geographic coordinates measured in decimal degrees, to coordinates in the equidistant, cylindric map projection measured in units of kilometers. The projection center is defined as the midpoint in latitude- longitude space. The map projection is here named after Marinus of Tyre (see J.P. Snyder. USGS Prof Paper 1395, p. 90).

Usage

1
marinus(lat, lon)

Arguments

lat

Vector of latitudes.

lon

Vector of longitudes.

Value

Matrix with column names "x" and "y" containing the x and y coordinates in the equidistant, cylindric map projection measured in units of kilometers.

Author(s)

Denis White

Examples

1
2
3
lat <- 45 + runif(100, -5, 5)
lon <- 120 + runif(100, -10, 10)
marinus(lat, lon)

mhweber/spsurvey documentation built on Sept. 17, 2020, 4:24 a.m.