Create Tessellations From SF Object

ar_tessellate(.data, shape = "square", size = 1)

Arguments

.data

An object of class sf to tessellate from

shape

One of 'square' or 'hexagon', the shape to make tessellations from

size

Numeric multiplier for size of tessellations, default is one kilometer

Value

A sf object

Examples

ar_tessellate(ar_stl_wards)
#> Simple feature collection with 215 features and 0 fields #> geometry type: GEOMETRY #> dimension: XY #> bbox: xmin: 733361.8 ymin: 4268336 xmax: 746157.7 ymax: 4295504 #> projected CRS: NAD83 / UTM zone 15N #> First 10 features: #> tess #> 1 POLYGON ((737846.1 4269336,... #> 2 POLYGON ((738361.8 4268583,... #> 3 POLYGON ((739361.8 4269159,... #> 4 POLYGON ((737423.9 4270336,... #> 5 POLYGON ((738361.8 4269336,... #> 6 POLYGON ((739449.9 4269336,... #> 7 POLYGON ((735900 4271336, 7... #> 8 POLYGON ((736361.8 4270962,... #> 9 POLYGON ((737361.8 4270359,... #> 10 POLYGON ((738361.8 4270336,...
ar_tessellate(ar_stl_wards, shape = "hexagon", size = .75)
#> Simple feature collection with 410 features and 0 fields #> geometry type: GEOMETRY #> dimension: XY #> bbox: xmin: 733361.8 ymin: 4268336 xmax: 746157.7 ymax: 4295504 #> projected CRS: NAD83 / UTM zone 15N #> First 10 features: #> tess #> 1 POLYGON ((733389.3 4275248,... #> 2 POLYGON ((733703.9 4276366,... #> 3 POLYGON ((733599 4274535, 7... #> 4 POLYGON ((733736.8 4275048,... #> 5 POLYGON ((733736.8 4276347,... #> 6 POLYGON ((734111.8 4277903,... #> 7 POLYGON ((733871.9 4273827,... #> 8 POLYGON ((734111.8 4274398,... #> 9 POLYGON ((734111.8 4275697,... #> 10 POLYGON ((734111.8 4276996,...