[R] Converting Geo-Coordinates Unities

Rodrigo Aluizio r.aluizio at gmail.com
Tue Sep 16 18:57:51 CEST 2008


Thanks for the elucidation James.
After reading the .pdf of proj4 and your answer, I believe I won't need 
proj4 package.
Well, I still don't know all the kind of transformations we will need here. 
I'm just getting prepared to future data that is arriving soon.
Each time they come, there is a different coordinate unit...
I'll star elaborating the mathematic functions for conversions, and save 
them in a safe place!
Anyway thank you so much!

Rodrigo.

--------------------------------------------------
From: "James Muller" <james.s.muller em gmail.com>
Sent: Tuesday, September 16, 2008 1:48 PM
To: "R Help" <r-help em r-project.org>
Subject: Re: [R] Converting Geo-Coordinates Unities

> I'd recommend just using a simple function for this particular thing,
> and then use proj4 for complicated geographical transforms. This is
> such an elementary operation it's not worth getting involved proj4,
> which, as far as I'm aware, doesn't bother doing what you're wanting
> anyway.
>
> Now, proj4. What other sorts of transformations are you likely to be
> doing? Do you know the ins-and-outs of projections and datums?
>
> If not, you'll really need to learn something about these in order to
> use proj4 correctly.
>
> James
>
> On Tue, Sep 16, 2008 at 12:35 PM, Rodrigo Aluizio <r.aluizio em gmail.com> 
> wrote:
>> Hi everybody,
>> I'm looking for some package or function of R that can convert 
>> Coordinates of Longitude and Latitude in different formats, such like: 
>> Deg and decimals, UTM, degree minutes and seconds, etc...
>> I'm found something (Proj4 package) but I'm note sure if it's what I 
>> need.
>> I have a sheet with tree columns, the first has the sample 
>> identification, the second and third have the Longitude and Latitude, 
>> respectively in D M' S''. I need to transform it into Degrees and 
>> decimals.
>> I know that I can create a "function" with some basic mathematics to this 
>> one, but I'll need to convert other formats in the future and it won't be 
>> that easy. So, any suggestion well be appreciated.
>> Thanks in advice.
>> ___________________________________
>> MSc. Rodrigo Aluizio
>> Centro de Estudos do Mar/UFPR
>> Laboratório de Micropaleontologia
>>        [[alternative HTML version deleted]]
>>
>>
>> ______________________________________________
>> R-help em r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide 
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>>
>
> ______________________________________________
> R-help em r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list