RTree Spatial Indexes Extension¶
This extension adds a new capability for spatially indexing geometry columns. This extension uses the rtree implementation provided by the SQLite R-Tree Module extension.
gpkg_extensions¶
To use this extension, add a row to this table for each geometry column to be indexed as described in Table 1.
Column |
Value |
|
table containing geometry to index |
|
column containing geometry to index |
|
|
|
|
|
read-write |
Virtual Tables and Triggers¶
The spatial index is established by creating a virtual table and a set of triggers. These are detailed in Appendix F.3.