SpatialFilter

Base Type: QueryFilter
 

A class that is a query filter that includes both spatial and attribute constraints

 

Property

Type

Description

FilterGeometry

Geometry

The query geometry used to filter results.

FilterOwnsGeometry

bool

Indicates whether the filter owns the query geometry.

GeometryFieldName

string

The name of the Geometry field to which the filter applies.

SearchOrder

esriSearchOrder

Gets the order in which spatial searches are applied by the RDBMS (ArcSDE). The spatial component of the search should generally be applied before the attribute component. The more spatially restrictive of the two should be used. In the following query, "Find all wells with particulate counts between 1000 and 1200 in within 5 miles of a school", the "esriSearchOrderAttribute" enumerator is more effective. If the filter geometry is the outline of the city of Modesto, California and the attribute query is "street_name = 'Main St.'" then "esriSearchOrderSpatial" should be used, as there are a large number of "Main St." records at a national level.

SpatialRel

esriSpatialRelEnum

The spatial relationship checked by the filter.

SpatialRelDescription

string

The array elements which describe the spatial relation between the query geometry and the requested geometries. There are 9 chars in this string which can be either 'F', 'T' or '*'; e.g., TT*FFT***' represents CONTAIN.

 

Remarks

 

See QueryFilter for information on the inherited properties.