Releases: kylebarron/geo-index
Releases · kylebarron/geo-index
py-v0.2.0
New Features
- Support for nearest neighbor searching on RTrees with
neighbors
. - Join two RTrees together with
tree_join
, finding their overlapping elements. This is the first part of a spatial join: to find which elements from two different data sources potentially intersect. - Extract partitioning structure from the underlying RTree with
partitions
and see the partition geometries withpartition_boxes
. - Expose
RTreeMetadata
andKDTreeMetadata
. These allow you to infer the memory usage a tree would incur. - Access the internal boxes within the RTree for inspecting the tree internals with
boxes_at_level
. - Implement the buffer protocol on
RTree
andKDTree
. This means you can copy the underlying buffer to Python withbytes(tree)
.
Breaking
- Move RTree and KDTree query functions to standalone global functions. This makes it easier to persist index buffers and reuse them later, because the query functions work on any object supporting the buffer protocol.
- Create "builder" classes:
RTreeBuilder
andKDTreeBuilder
. Having these as separate classes allows for iteratively adding the coordinates for an RTree or KDTree. This is useful when the source geometries are larger than fits in memory.
Documentation
- New documentation website for Python bindings.
New Contributors
- @H-Plus-Time made their first contribution in #55
Full Changelog: py-v0.1.0...py-v0.2.0
v0.2.0
Breaking
- Use u32 and u16 in public API for num_items and node_size by @kylebarron in #69
- Rename
OwnedRTree
toRTree
andOwnedKDTree
toKDTree
by @kylebarron in #81
Bug fixes
- Fix
intersection_candidates_with_other_tree
by @kylebarron in #51 - Improve precision in f64 to f32 box cast by @kylebarron in #76
- Avoid panic for rtree with one item by @kylebarron in #91
New Features
- Implement nearest neighbor searches on RTree by @kylebarron in #79
- Add geo-traits integration by @kylebarron in #71
- Implement RectTrait for Node by @kylebarron in #75
- KDTree traversal by @kylebarron in #96
- Expose RTreeMetadata & KDTreeMetadata (allowing you to infer the memory usage a tree would incur) by @kylebarron in #77
Performance
- Remove unnecessary
Cow
in kdtree trait by @kylebarron in #72
Documentation
- Use "immutable" over "static" wording in docs by @kylebarron in #70
- improved rtree & kdtree docs by @kylebarron in #93
What's Changed
- Don't panic for accessing level out of bounds by @kylebarron in #49
New Contributors
- @H-Plus-Time made their first contribution in #55
Full Changelog: v0.1.1...v0.2.0
py-v0.1.0
Initial Python release.
v0.1.1
What's Changed
- Updated benchmarks in documentation by @kylebarron in #27
Full Changelog: v0.1.0...v0.1.1
v0.1.0
What's Changed
- Initial release
New Contributors
- @kylebarron made their first contribution in #1
Full Changelog: https://github.com/kylebarron/geo-index/commits/v0.1.0