Project: QGIS

Version: 2.8.0

Feature: Bulk loading spatial index

In the API we have added support for bulk loading of spatial index. This is much faster way of initializing a spatial index. From python it is as simple as:

index = QgsSpatialIndex( layer.getFeatures() )

From a simple test with 50K points in a memory layer: * bulk loading ~ 100 ms * inserting features ~ 600 ms

The index tree should be also in theory be better constructed and may result in faster lookups.