Assign each point to a spatial grid cell.
coords
Float64Array
[lng0, lat0, lng1, lat1, …]
cell_size_deg
Float64Array with one grid ID per point. Points in the same cell get the same ID.
Assign each point to a spatial grid cell.
Arguments
coords— FlatFloat64Array[lng0, lat0, lng1, lat1, …]cell_size_deg— Grid cell size in degreesReturns
Float64Arraywith one grid ID per point. Points in the same cell get the same ID.