ISpatialIndex Interface

Provides access to members that create a temporary spatial index for improving performance of "Disjoint" and some other relational operators.

Description

The ISpatialIndex methods can be used to control whether or not a spatial index should be built and used for the IRelationalOperator operations. It also determines if an index should be built when getting an segment enumerators using ISegmentCollection::IndexedEnumSegments method.

Members

Name Description
Read/write property AllowIndexing Indicates whether to allow a spatial index to be created for this geometry.
Method Invalidate Invalidate the spatial index.

ISpatialIndex.AllowIndexing Property

Indicates whether to allow a spatial index to be created for this geometry.

Public Property AllowIndexing As Boolean
public bool AllowIndexing {get; set;}

Remarks

The SpatialIndex if enabled is used by the IRelationalOperator's methods.

ISpatialIndex.Invalidate Method

Invalidate the spatial index.

Public Sub Invalidate ( _
)
public void Invalidate (
);

Classes that implement ISpatialIndex

Classes Description
GeometryBag An ordered collection of objects that support the IGeometry interface.
Multipoint An ordered collection of points; optionally has measure, height and ID attributes.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close