This is the inverse of sphere.spherical.to.polar.cart
polar.cart.to.sphere.spherical(r, pa = FALSE, preserve = "latitude")2-column Matrix of Cartesian coordinates of points on
polar projection. Column names should be x and y
If TRUE, make this an area-preserving projection
Quantity to preserve locally in the
projection. Options are latitude, area or
angle
2-column Matrix of spherical coordinates of points on
sphere. Column names are phi and lambda.