revgeocode: Reverse geocode

Description Usage Arguments Details Value Author(s) See Also Examples

Description

reverse geocodes a longitude/latitude location using Google Maps. Note that in most cases by using this function you are agreeing to the Google Maps API Terms of Service at https://developers.google.com/maps/terms.

Usage

1
2
3
revgeocode(location, output = c("address", "more", "all"),
  messaging = FALSE, sensor = FALSE, override_limit = FALSE,
  client = "", signature = "")

Arguments

location

a location in longitude/latitude format

output

amount of output

messaging

turn messaging on/off

sensor

whether or not the geocoding request comes from a device with a location sensor

override_limit

override the current query count (.GoogleGeocodeQueryCount)

client

client ID for business users, see https://developers.google.com/maps/documentation/business/webservices/auth

signature

signature for business users, see https://developers.google.com/maps/documentation/business/webservices/auth

Details

note that the google maps api limits to 2500 queries a day.

Value

depends (at least an address)

Author(s)

David Kahle david.kahle@gmail.com

See Also

http://code.google.com/apis/maps/documentation/geocoding/

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run:  # Server response can be slow; this cuts down check time.

( gc <- as.numeric(geocode('Baylor University')) )
revgeocode(gc)
revgeocode(gc, output = 'more')
revgeocode(gc, output = 'all')
geocodeQueryCheck()


## End(Not run)

KimByoungmo/modefiedggmap documentation built on May 8, 2019, 4:49 p.m.