powered by
Converts a GCS expressed in Longitude and Latitude (and Ellipsoid Height) to an Earth-centered Earth-fixed (ECEF) cartesian coordinate system.
sgo_lonlat_cart(x)
An object of class sgo_points whose coordinates are defined as a x, y and z cartesian vector.
sgo_points
A sgo_points object with coordinates expressed as Longitude and Latitude (and Ellipsoid Height if they are 3D points).
Currently converts from EPSGs 4258 and 4937 to 4936 or from EPSGs 4326, 4979 to 4978
4258
4937
4936
4326
4979
4978
sgo_points, sgo_lonlat_bng.
sgo_lonlat_bng
p <- sgo_points(list(-5.00355049, 56.7968571), epsg=4326) p.xyz <- sgo_lonlat_cart(p) #Cartesian coordinates
Run the code above in your browser using DataLab