View source: R/get_area_streets.R
get_area_streets | R Documentation |
Get streets within an area or areas.
get_area_streets(
area = NULL,
street_type = NULL,
sha_class = NULL,
bbox = NULL,
dist = NULL,
diag_ratio = NULL,
asp = NULL,
trim = FALSE,
msa = FALSE,
union = TRUE
)
area |
sf object with area of streets to return. |
street_type |
selected street subtypes to include. By default, the returned data includes all subtypes except alleys ("STRALY"). Options include c("STRALY", "STRPRD", "STRR", "STREX", "STRFIC", "STRNDR", "STRURD", "STCLN", "STRTN") |
sha_class |
selected SHA classifications to include. "all" selects all streets with an assigned SHA classification (around one-quarter of all street segments). Additional options include c("COLL", "LOC", "MART", "PART", "FWY", "INT") |
bbox |
|
dist |
buffer distance in meters. Optional. |
diag_ratio |
ratio to set map extent based diagonal distance of area's
bounding box. Ignored when |
asp |
Aspect ratio of width to height as a numeric value (e.g. 0.33) or character (e.g. "1:3"). |
trim |
Logical. Default |
msa |
Logical. Default |
union |
Logical. Default |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.