On 12/12/2010 09:29 PM, Mihai Valcu wrote:
>
> An offline country map + overlay should work pretty fast.
>
> ##
> require(rgdal)
> setwd(tempdir())
> download.file("http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/110m-admin-0-countries.zip",destfile
An offline country map + overlay should work pretty fast.
##
require(rgdal)
setwd(tempdir())
download.file("http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/110m-admin-0-countries.zip",destfile
= "temp")
unzip(zipfile = "temp")
w = readOGR(tempdir()
On Mon, Dec 6, 2010 at 1:41 PM, Josh Tewksbury wrote:
> Hello - here is what I am sure is a quick question from someone new to R in
> spatial stats. I have a long list of lat long coordinates and I would like
> to do a location country check to extrapolate a country name from each
> lat/long point
Hello - here is what I am sure is a quick question from someone new to R in
spatial stats. I have a long list of lat long coordinates and I would like
to do a location country check to extrapolate a country name from each
lat/long point.
so, for example, my data look like
lat, long
14.42, -89.92