Join NDS data with OSM speed limit data
nds_join_spdlimit.RdThis 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
sfobject representing NDS data. This object should have aPOINTgeometry type.- osm_data
An
sfobject representing OSM data. This object should have aLINESTRINGorMULTILINESTRINGgeometry 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)
}