Create a GEOS STRTree

geos_strtree(geom, node_capacity = 10L)

geos_strtree_query(tree, geom)

geos_strtree_data(tree)

as_geos_strtree(x, ...)

# S3 method for default
as_geos_strtree(x, ...)

# S3 method for geos_strtree
as_geos_strtree(x, ...)

# S3 method for geos_geometry
as_geos_strtree(x, ...)

Arguments

geom

A GEOS geometry vector

node_capacity

The maximum number of child nodes that a node may have. The minimum recommended capacity value is 4. If unsure, use a default node capacity of 10.

tree

A geos_strtree()

x

An object to convert to a geos_strtree()

...

Unused

Value

A geos_str_tree object