This function, largely superseded by sf implementations, still works but is not particularly fast.
overline_spatial(sl, attrib, fun = sum, na.zero = FALSE, buff_dist = 0)
SpatialLinesDataFrame with overlapping Lines to split by number of overlapping features.
character, column names in sl to be aggregated
Named list of functions to summaries the attributes by? sum
is the default.
list(sum = sum, average = mean)
will summarise all attrib
utes by sum and mean.
Sets whether aggregated values with a value of zero are removed.
A number specifying the distance in meters of the buffer to be used to crop lines before running the operation. If the distance is zero (the default) touching but non-overlapping lines may be aggregated.
Other rnet:
SpatialLinesNetwork
,
calc_catchment_sum()
,
calc_catchment()
,
calc_moving_catchment()
,
calc_network_catchment()
,
find_network_nodes()
,
gsection()
,
islines()
,
lineLabels()
,
overline()
,
plot,SpatialLinesNetwork,ANY-method
,
plot,sfNetwork,ANY-method
,
rnet_breakup_vertices()
,
rnet_group()
,
sln2points()
,
sum_network_links()
,
sum_network_routes()