geo-index icon indicating copy to clipboard operation
geo-index copied to clipboard

A Rust crate and Python library for packed, static, zero-copy spatial indexes.

Results 33 geo-index issues
Sort by recently updated
recently updated
newest added
trafficstars

``` # Find the nearest neighbors in the RTree to the point (5, 5) results = rt.neighbors(tree, 5, 5) ``` What is the definition of nearest (or distance in general)...

This is primarily for a potential blog post of how the zero-copy format works. It's not intended to be used in production at this point.

At least, as long as float64 input is provided, so that we can downcast manually (We should also add tests for this)

Add method that tells the maximum bytes of memory used in the builder process (including the hilbert values). Maybe this should be on the `sort` trait?

From https://github.com/kylebarron/geo-index/issues/83

It would be nice to finish this but also ensure this isn't a performance regression. It feels like the iterator has to repeat some steps that the existing method doesn't....

Right now, our nearest neighbors implementation returns a materialized vec of _all_ values that are within `max_distance` and `max_results`, but instead it would be cleaner to just return an iterator....