Skip to contents

An S4 class representing a hexagonal grid specification. Stores all parameters needed for grid operations.

Details

Create HexGridInfo objects using the hex_grid constructor function. Do not use new("HexGridInfo", ...) directly.

The aperture can be "3", "4", "7" for standard grids, or "4/3" for mixed aperture grids that start with aperture 4 and switch to aperture 3.

Slots

aperture

Character. Grid aperture: "3", "4", "7", or "4/3" for mixed.

resolution

Integer. Grid resolution level (0-30).

area_km2

Numeric. Cell area in square kilometers.

diagonal_km

Numeric. Cell diagonal (long diagonal) in kilometers.

crs

Integer. Coordinate reference system (default 4326 = WGS84).

See also

hex_grid for the constructor function, HexData-class for hexified data objects