Creates hexagon polygons covering a rectangular geographic region.
Usage
hexify_grid_rect(
minlon,
maxlon,
minlat,
maxlat,
area,
aperture = 3L,
resround = "nearest",
radius_km = EARTH_RADIUS_KM
)Arguments
- minlon, maxlon
Longitude bounds
- minlat, maxlat
Latitude bounds
- area
Target cell area in km^2
- aperture
Grid aperture: 3, 4, or 7
- resround
Resolution rounding: "nearest", "up", or "down"
- radius_km
Radius of the body, in kilometers, or a body name such as "mars" (default Earth). See
hex_grid.
See also
grid_rect for the recommended S4 interface,
hexify_grid_global for global grids
Other sf conversion:
hex_corners_to_sf(),
hexify_cell_to_sf(),
hexify_grid_global()