DK for Delphi | GisViewer.TGIS_Viewer.UseRTree | Constructors | Fields | Methods | Properties | Events | Events
True if an RTree spatial index will be used by default when a layer is created.
// Delphi published property UseRTree : Boolean read write default True;
// C++ Builder published: __property bool UseRTree = {read, write, default=True};
| Type | Default |
|---|---|
| Boolean | True |
USAGE: Enable RTree spatial indexing for new layers. Accelerates spatial queries like selection and intersection tests. Recommended for large datasets.
gis.UseRTree = true layer = gis.Add(...) # New layer uses RTree for fast queries