This document is archived and information here might be outdated.  Recommended version.


ISpatialJoin Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (ArcMapUI)  

ISpatialJoin Interface

Provides access to members that join the attributes of feature classes based on the spatial relationships of the features.

Product Availability

Available with ArcGIS Desktop.

Description

ISpatialJoin performs a join operation based a spatial relationship between two feature classes. 

Members

Description
Method JoinAggregate Join using aggregate. Only features within a distance of maxMapDist will be joined. A maxMapDist of -1 means infinity.
Method JoinNearest Joins with the nearest feature in the join feature class. Only features within a distance of maxMapDist will be joined. A maxMapDist of -1 means infinity.
Write-only property JoinTable The spatial table to append fields from.
Method JoinWithin Joins a feature in the source feature class with the feature if it falls within in the join feature class.
Write-only property LeftOuterJoin Indicates whether a match is required before adding a record from the source feature class to the result. If TRUE, all records in the source feature class are added regardless of whether there is a match.
Write-only property ShowProcess Indicates whether to show update messages while processing join.
Write-only property SourceTable The spatial table to append fields to.

CoClasses that implement ISpatialJoin

CoClasses and Classes Description
SpatialJoin Spatial Join two feature classes.

See Also

IAggregateOptions Interface