sgo_cart_lonlat: Geodetic Coordinate System (GCS) in cartesian coordinates to...

View source: R/sgo_set_gcs.R

sgo_cart_lonlatR Documentation

Geodetic Coordinate System (GCS) in cartesian coordinates to polar coordinates

Description

Converts a GCS expressed Earth-centered Earth-fixed (ECEF) cartesian coordinate to Longitude and Latitude and Ellipsoid Height.

Usage

sgo_cart_lonlat(x)

Arguments

x

A sgo_points object with coordinates expressed in cartesian coordinates

Details

Currently converts from EPSGs 4936 and 4978 to 4937 and 4979

Value

An object of class sgo_points with polar coordinates (Longitude, Latitude and Ellipsoid Height).

See Also

sgo_points, sgo_bng_lonlat.

Examples

p <- sgo_points(list(3487823.234, -305433.201, 5313739.634), epsg=4936)
p.xyz <- sgo_cart_lonlat(p) #Cartesian coordinates

sgo documentation built on Sept. 23, 2022, 5:08 p.m.