Skip to content
Back to formatted view

Raw Message

Message-ID: <50E01347.6090405@uni-muenster.de>
Date: 2012-12-30T10:11:19Z
From: Edzer Pebesma
Subject: function to convert 3D geographical coordinates to Cartesian?
In-Reply-To: <871ue8jdw8.fsf@pobox.com>

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 there's
> certainly scope for error, so I'd prefer to use tested, previously-used
> code if available.
> 
> TIA, Tom Roche <Tom_Roche at pobox.com>
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
> 

-- 
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of M?nster
Weseler Stra?e 253, 48151 M?nster, Germany. Phone: +49 251
8333081, Fax: +49 251 8339763  http://ifgi.uni-muenster.de
http://www.52north.org/geostatistics      e.pebesma at wwu.de