geos_strtree | R Documentation |
Create a GEOS STRTree
geos_strtree(geom, node_capacity = 10L)
geos_strtree_query(tree, geom)
geos_strtree_data(tree)
as_geos_strtree(x, ...)
## Default S3 method:
as_geos_strtree(x, ...)
## S3 method for class 'geos_strtree'
as_geos_strtree(x, ...)
## S3 method for class 'geos_geometry'
as_geos_strtree(x, ...)
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 |
x |
An object to convert to a |
... |
Unused |
A geos_str_tree object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.