View source: R/places and rays fcns.R
initial.hwy2ray.subset | R Documentation |
Sets up road objects for ray measures. Ensures uniform CRS, trims hwys to those surrounding the Place, and parses arguments around which hwys to include.
initial.hwy2ray.subset(
place,
hwy.sf,
always.include = c("I"),
include.intersecting = FALSE,
hwy.types = NULL,
drop.NA = TRUE,
buffer.meters = 300,
...
)
place |
Single polygon, likely representing a Place, for which to generate rays. |
hwy.sf |
Sf object that represents highways with NHPN |
always.include |
Type(s) of highways to always include for ray measure if
|
include.intersecting |
Whether or not to include additional highway types if they intersect with one or more of the core/always included hwy types. |
hwy.types |
Other types of hwys to include if and only if they intersect with
the core, "always.included" type(s). Only relevant if
|
drop.NA |
Whether to drop rows with NA in the |
buffer.meters |
Amount of padding around the Place to retain when trimming highways to place and surrounding area. Defaults to 300 meters. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.