Retrieve OpenStreetMap data for a given location
Examples
get_osmdata("Bucharest", "waterway", "river")
#> Object of class 'osmdata' with:
#> $bbox : 44.3342466,25.9666745,44.5413964,26.2255768
#> $overpass_call : The call submitted to the overpass API
#> $meta : metadata including timestamp and version numbers
#> $osm_points : 'sf' Simple Features Collection with 12518 points
#> $osm_lines : 'sf' Simple Features Collection with 102 linestrings
#> $osm_polygons : 'sf' Simple Features Collection with 0 polygons
#> $osm_multilines : 'sf' Simple Features Collection with 4 multilinestrings
#> $osm_multipolygons : NULL