sgo_lonlat_cart {sgo} | R Documentation |
Geodetic Coordinate System (GCS) in polar coordinates to cartesian coordinates
Description
Converts a GCS expressed in Longitude and Latitude (and Ellipsoid Height) to an Earth-centered Earth-fixed (ECEF) cartesian coordinate system.
Usage
sgo_lonlat_cart(x)
Arguments
x |
A |
Details
Currently converts from EPSGs 4258
and 4937
to 4936
or
from EPSGs 4326
, 4979
to 4978
Value
An object of class sgo_points
whose coordinates are defined as a
x, y and z cartesian vector.
See Also
Examples
p <- sgo_points(list(-5.00355049, 56.7968571), epsg=4326)
p.xyz <- sgo_lonlat_cart(p) #Cartesian coordinates
[Package sgo version 0.9.2 Index]