Skip to content

Commit

Permalink
Fix #249 by adding do_union = FALSE.
Browse files Browse the repository at this point in the history
  • Loading branch information
richardellison authored and Robinlovelace committed May 26, 2018
1 parent 81b3cdc commit 73190fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/SpatialLinesNetwork.R
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ sum_network_routes <- function(sln, start, end, sumvars, combinations = FALSE) {
crs = sf::st_crs(sln@sl)$epsg
) %>%
dplyr::group_by(.data$linenum) %>%
dplyr::summarise() %>%
dplyr::summarise(do_union = FALSE) %>%
sf::st_cast("LINESTRING") %>%
dplyr::bind_cols(routedata) %>%
dplyr::select(-.data$linenum)
Expand Down

0 comments on commit 73190fe

Please sign in to comment.