cartesian2geographic | R Documentation |
converts Cartesian coordinates to Spherical coordinates in WGS84 datum
cartesian2geographic(x, y = NA, z = NA)
x |
numeric, X coordinate OR a vector of length=3 with x, y, z values |
y |
numeric, Y coordinate |
z |
numeric, Z coordinate |
longitude and latitude and ellipsoid height e.g. c(long=3, lat=45.6, h=44)
cartesian2geographic(-1079348.2174506688, 6121287.922664762, 1425405.2088229598 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.