[R-sig-Geo] Address from Wikimapia
Miluji Sb
milujisb at gmail.com
Wed May 18 00:25:54 CEST 2016
Is it possible to convert latitude and longitude into addresses in R using
Wikimapia mapping instead of Google? The reason being that Wikimapia
addresses have more details.
This is the code I have been using but this obtains the information from
Google.
library(data.table)
library(ggmap)
coords<- structure(list(Lattitude = c(23.8642394, 23.8643628, 23.8645843,
23.8632958, 23.8632859), Longitude = c(90.3981852, 90.3981042,
90.3954784, 90.3940043, 90.3940025)), .Names = c("Lattitude",
"Longitude"), row.names = c(NA, 5L), class = "data.frame")
coords$textAddress <- mapply(FUN = function(lon, lat) revgeocode(c(lon,
lat)), coords$Longitude, coords$Lattitude)
Thank you!
Sincerely,
Milu
[[alternative HTML version deleted]]
More information about the R-sig-Geo
mailing list