unction has the ability to refine these by segmentizing the line to
some given resolution. Let’s try the same thing using a resolution of
10m and see if we can do any better.</p>
<p>Note that the <code><a href="https://r-spatial.github.io/sf/reference/geos_unary.html" class="external-link">sf::st_segmentize</a></code> function takes care of
the distance conversion and segmentizes our lon/lat lines to 10m on the
fly. Also note, we are working in units of degrees for this sample.
(this is probably not a goo