Use a quadtree index to perform spatial request.

spatial_request(geometry, tree, data)

Arguments

geometry

sf like object (feature collection or simple geometry)

tree

a tree object from package SearchTrees

data

the original data used to build the tree object

Value

a subset of data, intersecting geometry

Examples

#This is an internal function, no example provided