Re: [R-sig-Geo] looking up country names from lat long

2010-12-13 Thread Edzer Pebesma
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

Re: [R-sig-Geo] looking up country names from lat long

2010-12-12 Thread Mihai Valcu
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()

Re: [R-sig-Geo] looking up country names from lat long

2010-12-06 Thread Barry Rowlingson
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

[R-sig-Geo] looking up country names from lat long

2010-12-06 Thread Josh Tewksbury
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