Query a spatial index for features intersecting a bounding box (gl_query_index)
Source: R/transport.R
gl_query_index.RdQuery a spatial index for features intersecting a bounding box (gl_query_index)
Arguments
- index
A
gl_spatial_indexobject created bygl_spatial_index().- bbox
Numeric vector
c(xmin, ymin, xmax, ymax).- max_features
Optional cap on returned features (uses deterministic stride LOD sampling).