Description Usage Arguments Note Examples
Vectorized over osm_ids
1 2 3 | address_lookup(osm_ids, address_details = TRUE,
email = getOption("OSM_API_EMAIL", "nominatimrpackage@example.com"),
accept_language = getOption("LANG", "en-US,en;q=0.8"))
|
osm_ids |
A vector of up to 50 specific osm node, way or relations ids to
return the addresses for. Format for each entry is |
address_details |
Include a breakdown of the address into elements (TRUE == include) |
email |
If you are making large numbers of request please include a valid email address
or alternatively include your email address as part of the User-Agent string.
This information will be kept confidential and only used to contact you in the
event of a problem, see Usage Policy for more details. You can pass the value
in directly or set the |
accept_language |
Preferred language order for showing search results
Either uses standard rfc2616 accept-language string or a simple comma separated l
ist of language codes. The |
A slight delay is introduced between calls as both OpenStreetMap Nominatim & MapQuest Nominatim API calls to reduce load on their servers.
Data (c) OpenStreetMap contributors, ODbL 1.0. http://www.openstreetmap.org/copyright
Nominatim Usage Policy: http://wiki.openstreetmap.org/wiki/Nominatim_usage_policy
MapQuest Nominatim Terms of Use: http://info.mapquest.com/terms-of-use/
1 2 3 4 5 | ## Not run:
places <- c("R146656", "W104393803", "N240109189")
places_found <- address_lookup(places)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.