Skip to content

Commit 91392e1

Browse files
committed
Initial commit
0 parents  commit 91392e1

File tree

5 files changed

+1308
-0
lines changed

5 files changed

+1308
-0
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2020-2023 Joshua J Baker
4+
Copyright (c) 2023 Even Rouault
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy of
7+
this software and associated documentation files (the "Software"), to deal in
8+
the Software without restriction, including without limitation the rights to
9+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10+
the Software, and to permit persons to whom the Software is furnished to do so,
11+
subject to the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included in all
14+
copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# sqlite_rtree_bulk_load
2+
3+
## Description
4+
5+
Fork of https://github.com/tidwall/rtree.c that implements the R\*Tree
6+
algorithm of SQLite (which is the one of http://www.sai.msu.su/~megera/postgres/gist/papers/Rstar3.pdf,
7+
without the forced reinsertion step), and offer fast initial creation of the
8+
SQLite R*Tree.
9+
10+
## Notes
11+
12+
sqlite_rtree_bulk_load.c can be built either as a C99 or a C++ source code.
13+
Performance will be slightly better when built as C++.
14+
15+
This is meant to be vendorized into your own code.
16+
17+
## Credits
18+
19+
- Josh Baker (@tidwall) for https://github.com/tidwall/rtree.c
20+
- SQLite authors for the R*Tree enhancements
21+
https://github.com/sqlite/sqlite/blob/master/ext/rtree/rtree.c that have
22+
been borrowed into this repository.
23+
24+
## License
25+
26+
sqlite_rtree_bulk_load source code is available under the MIT License.

0 commit comments

Comments
 (0)