We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
line_segment()
Able to handle sf objects with more than 1 row, e.g. from docs:
#' l <- routes_fast_sf[2, ] #' l_seg2 <- line_segment(l = l, n_segments = 2) #' l_seg3 <- line_segment(l = l, n_segments = 3) #' l_seg_100 <- line_segment(l = l, segment_length = 100) #' l_seg_2000 <- line_segment(l = l, segment_length = 2000) #' plot(sf::st_geometry(l_seg2), col = 1:2, lwd = 5) #' plot(sf::st_geometry(l_seg3), col = 1:3, lwd = 5) #' plot(sf::st_geometry(l_seg_100), col = seq(nrow(l_seg_100)), lwd = 5) #' plot(sf::st_geometry(l_seg_2000), col = seq(nrow(l_seg_100)), lwd = 5) #' # Multiple lines #' l <- routes_fast_sf[2:4, ] #' l_seg_multi = line_segment(l, segment_length = 1000)
The text was updated successfully, but these errors were encountered:
Vectorise line_segment(), close #518
50016a7
Demo of this in action 🎉
Sorry, something went wrong.
4444c7e
No branches or pull requests
Able to handle sf objects with more than 1 row, e.g. from docs:
The text was updated successfully, but these errors were encountered: