s="anchor" aria-label="anchor" href="#spherical-point-based-neighbours"></a>
</h3>
<p>Spherical point-based neighbours may be found using Great Circle
distances. These have been used for many years, but the switch of
<strong>sf</strong> 1.0-0 to use <strong>s2</strong> by default has
opened up new opportunities where spatial indexing on the sphere may
help.</p>
<div class="sourceCode" id="cb51"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="va">pts_ll</span> <span class="op