Re: [R-sig-Geo] function to convert 3D geographical coordinates to Cartesian?

2013-01-01 Thread Roger Bivand
On Sun, 30 Dec 2012, Tom Roche wrote: Is there packaged code to convert geographical coordinates (e.g., longitude, latitude, elevation) to Cartesian coordinates in 3-space? The spherical-to-Cartesian math is straightforward enough, but there's certainly scope for error, so I'd prefer to use

Re: [R-sig-Geo] function to convert 3D geographical coordinates to Cartesian?

2013-01-01 Thread Tom Roche
https://stat.ethz.ch/pipermail/r-sig-geo/2012-December/017099.html Is there packaged code to convert geographical coordinates (e.g., longitude, latitude, elevation) to Cartesian coordinates in 3-space? The spherical-to-Cartesian math is straightforward enough, but there's certainly scope for

Re: [R-sig-Geo] function to convert 3D geographical coordinates to Cartesian?

2012-12-30 Thread Edzer Pebesma
Tom, I guess you are aware of rgdal::spTransform? On 12/30/2012 06:40 AM, Tom Roche wrote: Is there packaged code to convert geographical coordinates (e.g., longitude, latitude, elevation) to Cartesian coordinates in 3-space? The spherical-to-Cartesian math is straightforward enough, but

Re: [R-sig-Geo] function to convert 3D geographical coordinates to Cartesian?

2012-12-30 Thread Tom Roche
Tom Roche Sun, 30 Dec 2012 00:40:55 -0500 Is there packaged code to convert geographical coordinates (e.g., longitude, latitude, elevation) to [simple] Cartesian coordinates in 3-space? Edzer Pebesma Sun, 30 Dec 2012 11:11:19 +0100 rgdal::spTransform? I'm aware of that, but don't how to

Re: [R-sig-Geo] function to convert 3D geographical coordinates to Cartesian?

2012-12-30 Thread Tom Roche
https://stat.ethz.ch/pipermail/r-sig-geo/2012-December/017102.html Is there packaged code to convert geographical coordinates (e.g., longitude, latitude, elevation) to [simple] Cartesian coordinates in 3-space? Just to clarify: I'm looking for code like that which follows my .sig (to end of

[R-sig-Geo] function to convert 3D geographical coordinates to Cartesian?

2012-12-29 Thread Tom Roche
Is there packaged code to convert geographical coordinates (e.g., longitude, latitude, elevation) to Cartesian coordinates in 3-space? The spherical-to-Cartesian math is straightforward enough, but there's certainly scope for error, so I'd prefer to use tested, previously-used code if available.