span>, n_preallocate <span class="op">=</span> <span class="fl">10000L</span><span class="op">)</span></span>
<span></span>
<span><span class="co"># S3 method for SpatialPolygons</span></span>
<span><span class="fu">convert2PolySet</span><span class="op">(</span><span class="va">x</span>, n_preallocate <span class="op">=</span> <span class="fl">10000L</span><span class="op">)</span></span>
<span></span>
<span><span class="co"># S3 method for sf</span></span>
<span><span class="fu">convert2PolySet</span><spa