Closed jmsigner closed 11 months ago
Thanks for raising the issue, and reproducible example. Will take a look and get back to you.
I had the same issue and could solve it with a similar change, fwiw.
Thanks again. Can check at some point soon...
@fulliautomatix-bike and @jmsigner finally got round to fixing it, please test with
remotes::install_github("ropensci/stplanr@515-rnet_split_lines-fails-removes-segments")
When using the function
line_segment()
with the argumentsegment_length
I get an error:This is solved when changing
to
See full example below:
https://github.com/ropensci/stplanr/blob/bdbdd983e07300baa58e48816a6e758d28b495df/R/linefuns.R#L157