SortTileRecursiveTree.jl

Fast spatial queries: STR tree for GeoInterface compatible geometries
Author maxfreu
Popularity
5 Stars
Updated Last
6 Months Ago
Started In
January 2024

SortTileRecursiveTree

Build Status

An STR tree implementation for GeoInterface compatible geometries.

Usage:

using SortTileRecursiveTree
using Extents

tree = STRtree(geometries)
query_result = query(tree, Extent(X=(0, 100.5), Y=(0, 1.5)))
# or 
query_result = query(tree, query_geometry)

The query result is a Vector{Int} that you can use to index into the collection of geometries from which the tree was created, under the assumption that it has not changed since then.

Contributions are welcome! :)

Required Packages