-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use grid index instead of rtree for querying features
Why? Both indexes have comparable querying performance and Grid is transferrable. Insertion is faster with Grid than rbush but that's not the main benefit. Point queries are really fast for both. Each is sometimes faster than the other. Therre is no clear winner. Large, full-screen bbox queries are 10% slower with Grid than rbush but difference is not significant (0.2% of FeatureTree.query). comparisons were done with mapbox-streets-v6
- Loading branch information
Showing
2 changed files
with
1 addition
and
21 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