Re: [R-sig-Geo] Merge data by latitude and longitude

2016-10-18 Thread Miluji Sb
Possible solution: http://stackoverflow.com/a/40075289/4373531 On Sun, Oct 16, 2016 at 3:32 PM, Miluji Sb wrote: > Dear all, > > I have two dataframe 1 by latitude and longitude but they always do not > match. Is it possible to merge them (e.g. nearest distance)? > > # Dataframe 1 > structure(l

Re: [R-sig-Geo] Merge data by latitude and longitude

2016-10-16 Thread Bob Rudis
When your cross-post on StackOverflow is answered (or is answered here) were you planning on cross-posting the answer as well? On Sun, Oct 16, 2016 at 9:32 AM, Miluji Sb wrote: > Dear all, > > I have two dataframe 1 by latitude and longitude but they always do not > match. Is it possible to merge

[R-sig-Geo] Merge data by latitude and longitude

2016-10-16 Thread Miluji Sb
Dear all, I have two dataframe 1 by latitude and longitude but they always do not match. Is it possible to merge them (e.g. nearest distance)? # Dataframe 1 structure(list(lat = c(54L, 55L, 51L, 54L, 53L, 50L, 47L, 51L, 49L, 54L), lon = c(14L, 8L, 15L, 7L, 6L, 5L, 13L, 5L, 13L, 11L ), PPP2000_40