grid_indexing.distributed.DistributedRTree#
- class grid_indexing.distributed.DistributedRTree(geoms)#
A distributed geospatial RTree implementation
This behaves exactly the same as
RTree, except that it consumes chunked arrays (currently onlydask) and performs an exact search without loading the entire array into memory.Note
This computes the boundaries of each chunk eagerly.
- Parameters:
geoms (array-like) – The source geometries as a chunked array of shapely polygons, in EPSG:4326 coordinates. The longitude convention can be either 0° to 360° or -180° to 180°, and it is the user’s responsibility to ensure consistency.
See also
RTree- __init__(geoms)#
Methods
__init__(geoms)query(geoms, *, method)query for overlapping geometries
query_overlap(geoms)query for overlapping geometries