Creates hexagon polygons covering the entire Earth.
Arguments
- grid
A HexGridInfo object specifying the grid parameters
- wrap_dateline
Logical. If TRUE (default), calls
sf::st_wrap_dateline()to split antimeridian-crossing polygons, which flat maps and planar (GEOS) operations need. Set to FALSE for orthographic/globe projections where wrapping creates gaps, and for spherical (s2) operations: each cell then stays one polygon whose corners lie in -180..180, so a cell crossing the antimeridian spans a flat lon/lat map.
Details
Every cell of the grid, one row each, in cell ID order for ISEA grids.
For large grids (many small cells), consider using grid_rect() to
generate regional subsets.
See also
grid_rect for regional grids