Spatial Queries
SpatialIndexing.SpatialQueryIterator
— TypeBase abstract class for implementing spatial queries in N
-dimensional space.
SpatialIndexing.QueryKind
— TypeSpecifies the kind of spatial data query.
SpatialIndexing.QueryMatch
— TypeSpecifies the result of spatial data query.
Base.findfirst
— Functionfindfirst(tree::RTree{T,N}, reg::Region{T,N}, [id]) where {T,N}
Find the element in the tree
by its region (reg
) and, optionally, its id
. The region (MBR) of the element and reg
should match exactly.
Returns the tuple of Leaf
and position of the element or nothing
.
Base.isempty
— Functionisempty(tree::RTree, region::Region)
Check if there are tree
elements inside region
.
SpatialIndexing.contained_in
— Functioncontained_in(index::SpatialIndex, region::Region)
Get iterator for index
elements contained in region
.
SpatialIndexing.intersects_with
— Functionintersects_with(index::SpatialIndex, region::Region)
Get iterator for index
elements intersecting with region
.