geo2cart: Geopoint and Cartesian conversion

View source: R/coords.R

geo2cartR Documentation

Geopoint and Cartesian conversion

Description

Converting geo-points in lat/long into Cartesian coordinates.

Usage

geo2cart(x)

Arguments

x

A 2D vector (lat, long) representing the geo-point in degrees.

Value

A unit-length 3D vector (x, y, z) in Cartesian system.

See Also

geo2cart.radian, cart2geo

Examples

geo2cart(c(30, 120))

caesar0301/movr documentation built on June 18, 2022, 2:37 a.m.