Download spatial data
nds_download_sf.Rd
nds_download_sf
downloads spatial data in .zip
format and
extracts into a sf
object.
Arguments
- url
Download url.
- ...
Parameters passed to
sf::st_read()
Examples
url <- "https://ippuc.org.br/geodownloads/SHAPES_SIRGAS/EIXO_RUA_SIRGAS.zip"
road <- nds_download_sf(url)
#> Reading layer `EIXO_RUA' from data source `/tmp/RtmpUcuisH/file1a6525043127' using driver `ESRI Shapefile'
#> Simple feature collection with 40355 features and 21 fields
#> Geometry type: MULTILINESTRING
#> Dimension: XY
#> Bounding box: xmin: 662030.4 ymin: 7162884 xmax: 682331.9 ymax: 7195625
#> Projected CRS: SIRGAS 2000 / UTM zone 22S