n_level: Calculate the required level based on a bounding box and a...

Description Usage Arguments Value See Also

View source: R/n_level.R

Description

Calculate the required level based on a bounding box and a cellsize

Usage

1
n_level(bbox, cellsize)

Arguments

bbox

A two-column matrix. The first column has the minimum, the second the maximum values. Rows represent the spatial dimensions.

cellsize

The size of each cell. Either a single value or one value for each dimension.

Value

the required level to cover the bbox using a grid with cellsize

See Also

Other utility: compact_db(), create_index(), has_index(), is_grtsdb(), which_level()


inbo/grtsdb documentation built on Jan. 16, 2022, 2:41 a.m.