#geo #geospatial

static-bushes

Rust ports of the kdbush and flatbush npm packages

1 unstable release

0.1.1 Aug 25, 2021

#1135 in Data structures

Download history 207/week @ 2023-10-29 147/week @ 2023-11-05 74/week @ 2023-11-12 142/week @ 2023-11-19 130/week @ 2023-11-26 140/week @ 2023-12-03 68/week @ 2023-12-10 140/week @ 2023-12-17 2/week @ 2023-12-24 7/week @ 2023-12-31 101/week @ 2024-01-07 88/week @ 2024-01-14 131/week @ 2024-01-21 72/week @ 2024-01-28 90/week @ 2024-02-04 79/week @ 2024-02-11

372 downloads per month

ISC license

42KB
1K SLoC

static-bushes

This is library contains Rust ports of two excellent spatial indexing libraries by @mourner: KDBush and Flatbush (incomplete: lacks nearest-neighbor search).

Where appropriate, function signatures have been modified as compared to their JS versions either to make the two modules more consistent with one another, or to use more-idiomatic Rust (e.g., structures implement FromIterator and can be constructed via .collect()).

Dependencies

~255KB