Skip to content

Fast spatial queries: STR tree for GeoInterface compatible geometries

License

Notifications You must be signed in to change notification settings

maxfreu/SortTileRecursiveTree.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Fast spatial queries: STR tree for GeoInterface compatible geometries

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages