nds_join_axis: Join NDS data with road axis data

View source: R/nds_join.R

nds_join_axisR Documentation

Join NDS data with road axis data

Description

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

## Not run: 
result <- nds_join_axis(ndsbr_data_sf, ippuc_road_axis)

## End(Not run)


pabsantos/ndsbr documentation built on June 13, 2024, 3:47 a.m.