Create Tessellations From SF Object
ar_tessellate(.data, shape = "square", size = 1)
An object of class sf
to tessellate from
One of 'square' or 'hexagon', the shape to make tessellations from
Numeric multiplier for size of tessellations, default is one kilometer
A sf
object
ar_tessellate(ar_stl_wards)
#> Simple feature collection with 211 features and 0 fields
#> Geometry type: GEOMETRY
#> Dimension: XY
#> Bounding box: xmin: 265638 ymin: 299436.3 xmax: 278974.9 ymax: 326430.3
#> Projected CRS: NAD_1983_HARN_StatePlane_Missouri_East_FIPS_2401
#> First 10 features:
#> tess
#> 1 POLYGON ((269947.9 300436.3...
#> 2 POLYGON ((270638 299725.9, ...
#> 3 POLYGON ((269668.7 301436.3...
#> 4 POLYGON ((271570.6 300436.3...
#> 5 POLYGON ((271638 300563, 27...
#> 6 POLYGON ((268157.9 302436.3...
#> 7 POLYGON ((268638 302059.4, ...
#> 8 POLYGON ((269638 301448.6, ...
#> 9 POLYGON ((270638 301436.3, ...
#> 10 POLYGON ((272101.5 301436.3...
ar_tessellate(ar_stl_wards, shape = "hexagon", size = .75)
#> Simple feature collection with 407 features and 0 fields
#> Geometry type: GEOMETRY
#> Dimension: XY
#> Bounding box: xmin: 265638 ymin: 299436.3 xmax: 278974.9 ymax: 326430.3
#> Projected CRS: NAD_1983_HARN_StatePlane_Missouri_East_FIPS_2401
#> First 10 features:
#> tess
#> 1 POINT (265638 306399.4)
#> 2 POLYGON ((265653.6 306355.5...
#> 3 POLYGON ((265971.7 307470.8...
#> 4 POLYGON ((265903 305651.4, ...
#> 5 POLYGON ((266013 306148, 26...
#> 6 POLYGON ((266013 307447, 26...
#> 7 POLYGON ((266157.7 304932.5...
#> 8 POLYGON ((266388 305498.4, ...
#> 9 POLYGON ((266388 306797.5, ...
#> 10 POLYGON ((266388 308096.5, ...