Generate a quadtree object from package SearchTrees, useful to speed up spatial requesting (INTERNAL).

build_quadtree(data)

Arguments

data

a feature collection of linestrings or a feature collection of points

Value

a spatial_index object (pointer to a c++ instance)

Examples

#This is an internal function, no example provided