Join NDS data with OSM speed limit data
nds_join_spdlimit.Rd
This function joins NDS data with OSM speed limit data, including a 10-meter buffer around axis data and arranging speed limit information.
Arguments
- ndsbr_data
An
sf
object representing NDS data. This object should have aPOINT
geometry type.- osm_data
An
sf
object representing OSM data. This object should have aLINESTRING
orMULTILINESTRING
geometry type.- vars
A character vector of variables to join from the OSM data. Default is
"maxspeed"
.
Examples
if (FALSE) {
cwb_osm <- nds_download_cwb_osm()
result <- nds_join_spdlimit(ndsbr_data_sf, cwb_osm)
}