get_osm_streets: get_osm_streets

Description Usage Arguments Value Note

Description

Extract OSM streets for given location (city), and save them in the data directory

Usage

1
get_osm_streets(city = "kathmandu", n = 1)

Arguments

city

Name of city for which streets are to be obtained

n

Number of chunks into which to divide the file (see details)

Value

The sf-formatted data object (invisibly)

Note

github only stores single files under 5MB, so setting n > 1 enables a file to be divided into individual chunks smaller than this limit which can be stored and easily rbind-ed back together on loading.


atfutures-labs/flowlayers2 documentation built on Feb. 26, 2020, 9:35 a.m.