Search for a place and return an sf data frame locating itSource:
This (only internal and experimental) function provides a simple interface to the nominatim service for finding the geographical location of place names.
oe_search( place, base_url = "https://nominatim.openstreetmap.org", destfile = tempfile(fileext = ".geojson"), ... )
Text string containing the name of a place the location of which is to be found, such as
The URL of the nominatim server to use. The main open server hosted by OpenStreetMap is the default.
The name of the destination file where the output of the search query, a
.geojsonfile, should be saved.
Extra arguments that are passed to
sf object corresponding to the input place. The
sf object is
sf::st_read() and it is based on a
geojson file returned by