-
Notifications
You must be signed in to change notification settings - Fork 953
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented turf-clusters-dbscan with spatial data structure (fix #2492…
…) (#2497) * feat: implement turf-clusters-dbscan * Import 'RBush' for spatial indexing * Removed 'dbscan-clustering' * Reimplemented DBSCAN for performance * Test * fix: write comments * Write more comments * Improved region query (#2492) * Smaller bounding box for region query with RBush * Bulk-Insertion for RBush (#2492) * Use Bulk-Insertion for adding data to RBush tree * Slightly improved performance of region query * Handle the case where the bounding box crosses the poles (#2492) * Fix incorrect bounding box (#2492) * Fix incorrect bounding box * updated packages for turf-clusters-dbscan - remove unused packages - add rbush --------- Co-authored-by: James Beard <james@smallsaucepan.com>
- Loading branch information
1 parent
c8b37e8
commit 407619b
Showing
2 changed files
with
124 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters