Open Table of Contents

Add Spatial Index

This function is not available via the GUI of ET GeoWizards.

Adds a spatial index to a feature class. Having a current spatial index ensures that a high level of performance is maintained when drawing and working with the feature class's features.

Note: Can be used only on feature classes!

Command line syntax 

ET_GPSpatialIndex <input_dataset> 

Parameters

Expression Explanation
<input_dataset> A feature class or feature layer (the source should be a feature class)

Scripting syntax

ET_GPSpatialIndex (input_dataset)

See the explanations above:
<> - required parameter
{} - optional parameter

.NET implementation

AddSpatialIndex(pInFC As IFeatureClass) As Boolean

Copyright © Ianko Tchoukanski