geoarrow-rs icon indicating copy to clipboard operation
geoarrow-rs copied to clipboard

Add spatial_join

Open deanm0000 opened this issue 1 year ago • 3 comments

https://github.com/msalib/spatial-join

Not sure if you'd prefer to use r star directly but some form of spatial joins would be nice.

deanm0000 avatar Jun 24 '24 03:06 deanm0000

Spatial joins are already half-implemented in https://github.com/geoarrow/geoarrow-rs/pull/580. https://github.com/msalib/spatial-join is a useful reference but we can't use it directly because it uses geo objects. Additionally, the spatial joins here will use https://github.com/kylebarron/geo-index, which is more memory-efficient and will be quite a bit faster than rstar for our static data use case.

kylebarron avatar Jun 24 '24 14:06 kylebarron

Oh that's awesome. Is this going to be just nearest (or similar) or is the other half (yet to be implemented) going to be other predicates (contains, intersects, etc)?

deanm0000 avatar Jun 24 '24 15:06 deanm0000

Initially intersects but should be all predicates eventually

kylebarron avatar Jun 24 '24 16:06 kylebarron