Calculates a unique identifier from coordinates.

f_locid(long, lat, resol)

Arguments

long

The longitude of the grid cell of interest

lat

The latitude of the grid cell of interest

resol

The spatial resolution of the database to target (1/12 for gbif4crest_03)

Value

A unique integer describing the cell.

Examples

f_locid(0, 0, 1/12)
#> [1] 4667760