[R] calculating distance between latitude and longitude

R. A. Bilonick rab45 at pitt.edu
Sun Jan 29 07:28:18 CET 2012


On 01/27/2012 07:40 AM, uday wrote:
> I have some satellite data which contains latitude and longitude information
> .
>
> > From this data I would like to calculate distance between first location
> (scalar latitude and longitude) and all other (vectors latitude and
> longitude)
>
> How I should solve this problem ?
>
>
>
>
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/calculating-distance-between-latitude-and-longitude-tp4333332p4333332.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.
You might want to look at the convUL function in the PBSmapping package.

Rick

-- 
---
Richard A. Bilonick, PhD
Assistant Professor
412 647 5756
Dept. of Ophthalmology, School of Medicine
Dept. of Biostatistics, Graduate School of Public Health
Principal Investigator: Pittsburgh Aerosol Research and Inhalation Epidemiology Study (PARIES)
University of Pittsburgh



More information about the R-help mailing list