powered by
xyz2latlon(x, y, z) latlon2xyz(latitude, longitude)
latlon2xyz(latitude, longitude)
a matrix each row of which contains the x, y, and z coordinates of a point on a unit sphere
deg2rad
googleMap
rgeo
xyz2latlon(1, 1, 1) # point may be on sphere of any radius xyz2latlon(0, 0, 0) # this produces a NaN for latitude latlon2xyz(45, 45)
Run the code above in your browser using DataLab