Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 728 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 728 Bytes

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! :)