[R-sig-Geo] package to query Google for latitude and longitude for a given ZIP code
Robert Hijmans
r.hijmans at gmail.com
Tue Mar 8 18:30:15 CET 2011
>Hi, I was wondering if someone could direct me to a package that would
>allow you to query Google (or any other resource) for the latitude and
>longitude of a ZIP code.
You can try the 'geocode' function in the dismo package.
> geocode('03861')
ID lon lat lonmin lonmax latmin latmax
[1,] 1 -71.0169 43.11589 -71.0731 -70.96072 43.08175 43.17245
>
Robert
--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/package-to-query-Google-for-latitude-and-longitude-for-a-given-ZIP-code-tp6130598p6131592.html
Sent from the R-sig-geo mailing list archive at Nabble.com.
More information about the R-sig-Geo
mailing list