SpatialPolygons or SpatialPolygonsDataFrame object.
n_preallocate
integer How much memory should be preallocated for processing? Ideally, this number should equal the number of vertices in the SpatialPolygons object. If data processing is taking too long consider increasing this value.
Value
PolySet object.
See Also
For a slower, more stable equivalent see maptools::SpatialPolygons2PolySet.