Skip to content
Prev 314381 / 398503 Next

code to convert 3D geographical coordinates to Cartesian?

On Dec 30, 2012, at 8:14 PM, Tom Roche wrote:

            
You have a very different notion of what would be considered core  
capabilities in a statistics program than I have.
How did you search?

install.packages("sos")
require(sos)
 > findFn("latitude longitude cartesian")

Two different packages with functions that sound as though they might  
be useful.

sphereplot::sph2car  "Transforms 3D spherical coordinates to cartesian  
coordinates"

GEOmap::Lll2xyz "List Lat-Lon to cartesian XYZ"