Last data update: 2014.03.03

R: Georeferencing with Google
geocodeR Documentation

Georeferencing with Google

Description

Uses the dismo package to geocode with Google

Usage

	geocode(...)
	

Arguments

...

arguments passed to geocode

Value

A SpatialPointsDataFrame in long-lat projection.

See Also

geocode

Examples



## Not run: 

if (requireNamespace("dismo", quietly = TRUE)) { 

cities=geocode('Ulan batar')
mytiles = openmap(cities, buffer=800*1000)

map.new(mytiles)
plot(mytiles, add=TRUE)
points(cities, col='red')
text(cities, labels=cities$originalPlace, col='red',pos=4)

}

## End(Not run)


Results