bb_to_matchedIDs: Determines the grid ID number for each grid space within a...

Description Usage Arguments Value

View source: R/tempdev20.R

Description

Determines the grid ID number for each grid space within a bounding box. Useful for, eg, large areas of greenery that we can easily draw a boundary around, instead of grabbing the lat/long of every point within the region. Returns a dataframe of grid ID numbers that will be associated with that land type.

Usage

1
bb_to_matchedIDs(bb, gridSize, grid)

Arguments

bb

Bounding box of region, in lat/long

gridSize

Grid size. Assumes square grid. In decimal form (eg 0.00025 = 25m^2 grid)

grid

Dataframe of area grid, as per what's created in make_grid

Value

A dataframe of grid IDs associated with that land type.


beeysian/cairnsmozzie documentation built on Feb. 15, 2021, 12:12 a.m.