Constructor
GeoPackage
Protected
connectionConnection
Definition for the extension
Name of the extension
Readonly
extensionsExtensionDao
Readonly
geoGeoPackage
extension table name
Static
Readonly
DEFINITIONExtension definition URL
Static
Readonly
EXTENSION_Extension name
Protected
_executeSQLCreate the RTree Index extension for the feature table, geometry column, and id column. Creates the SQL functions, loads the tree, and creates the triggers.
extension
table name
geometry column name
id column name
Create Triggers to Maintain Spatial Index Values
feature table
Create delete trigger
Conditions: Row deleted Actions : Remove record from rtree for old
table name
geometry column name
id column name
Check if the feature table has the RTree extension and create the functions if needed
true if has extension and functions created
feature table
Check if the table and column has the RTree extension and create the functions if needed
true if has extension and functions created
table name
column name
Create insert trigger
Conditions: Insertion of non-empty geometry Actions : Insert record into rtree
table name
geometry column name
id column name
Create the RTree Index Virtual Table
feature table
Create update 1 trigger
Conditions: Update of geometry column to non-empty geometry No row ID change Actions : Update record in rtree
table name
geometry column name
id column name
Create update 2 trigger
Conditions: Update of geometry column to empty geometry No row ID change Actions : Remove record from rtree
table name
geometry column name
id column name
Create update 3 trigger
Conditions: Update of any column Row ID change Non-empty geometry Actions : Remove record from rtree for old Insert record into rtree for new
table name
geometry column name
id column name
Create update 4 trigger
Conditions: Update of any column Row ID change Empty geometry Actions : Remove record from rtree for old and new
table name
geometry column name
id column name
Create the RTree Index extension for the feature table. Creates the SQL functions, loads the tree, and creates the triggers.
extension
feature table
Delete the RTree Index extension for the feature table. Drops the triggers, RTree table, and deletes the extension.
feature table
Delete the RTree Index extension for the table and geometry column. Drops the triggers, RTree table, and deletes the extension.
table name
geometry column name
Drop Triggers that Maintain Spatial Index Values
feature table
Drop the RTree Index Virtual Table
feature table
Check if the feature table has the RTree extension and if found, drop the triggers
feature table
Drop the the triggers and RTree table for the feature table
feature table
Get the extension for the name, table name and column name
extension name
Optional
tableName: stringtable name
Optional
columnName: stringcolumn name
Get the extension for the name, table name and column name
extension name
Optional
tableName: stringtable name
Optional
columnName: stringcolumn name
Get the geopackage
Get or create the extension
extension
table name
column name
Get or create the extension
extension
feature table
Protected
getRTreeGet the RTree Table
RTree table
feature table
Get a RTree Index Table DAO for the feature dao
RTree Index Table DAO
feature DAO
Determine if the GeoPackage feature table has the extension feature table
true if has extension
Load the RTree Spatial Index Values
feature table
Static
getGet or build a geometry envelope from the Geometry Data
geometry envelope
geometry data
Generated using TypeDoc
RTreeIndex extension