Skip to contents

This function joins NDS data with road axis data, including a 10-meter buffer around axis data and arranging names and road hierarchy data.

Usage

nds_join_axis(
  ndsbr_data,
  road_axis,
  axis_vars = c("NMVIA", "SVIARIO", "HIERARQUIA")
)

Arguments

ndsbr_data

An sf object representing NDS data. This object should have a POINT geometry type.

road_axis

An sf object representing road axis data. This object should have a LINESTRING or MULTILINESTRING geometry type.

axis_vars

A character vector of variables to join from the road axis data. Default is c("NMVIA", "SVIARIO", "HIERARQUIA").

Value

An sf object with the joined data.

Examples

if (FALSE) {
result <- nds_join_axis(ndsbr_data_sf, ippuc_road_axis)
}