Get OpenStreetMap streets
Examples
bb <- get_osm_bb("Bucharest")
crs <- get_utm_zone(bb)
get_osm_streets(bb, crs)
#> Simple feature collection with 7868 features and 1 field
#> Geometry type: LINESTRING
#> Dimension: XY
#> Bounding box: xmin: 416680.4 ymin: 4907294 xmax: 439997 ymax: 4938941
#> Projected CRS: WGS 84 / UTM zone 35N
#> First 10 features:
#> type geometry
#> 1349 tertiary LINESTRING (427899.3 492440...
#> 1467 tertiary LINESTRING (427853.8 492445...
#> 1760 primary LINESTRING (427348.7 492401...
#> 1915 primary LINESTRING (432042.4 491860...
#> 2955804 tertiary LINESTRING (432099.2 491999...
#> 3039873 primary LINESTRING (435628.7 492117...
#> 3043515 secondary LINESTRING (425064.1 491877...
#> 3043519 primary LINESTRING (425537.9 491747...
#> 3043522 tertiary LINESTRING (425078.3 491876...
#> 3058607 primary LINESTRING (426355.1 492506...