Description Usage Arguments Value Examples
Geocodes a string using the OSM API. Has the ability to return additional information such as the geoJSON string and converting the geojson string to a spatial object.
1 |
x |
str, a location name to geocode in the form of a character vector of length 1. |
geojson |
bool, should the geoJSON information also be retrieved |
sp |
bool, should the geoJSON data be converted to spatial objects |
verbose |
bool, verbose argument passed to readOGR |
... |
, additional parameters passed to readOGR |
A dataframe with the reults from the OSM geotag call.
A dataframe with the results from the OSM geotag call. This dataframe may include lists of coordinates and spatial objects depending on the parameters specified
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.