Class SpatialFilter
Spatial filter parameters for feature queries; geometry uses GeoServices JSON shapes.
public sealed class SpatialFilter
- Inheritance
-
SpatialFilter
- Inherited Members
Properties
Distance
Distance threshold for distance-based relationships.
public double Distance { get; set; }
Property Value
DistanceUnit
Distance unit for distance-based relationships.
public DistanceUnit DistanceUnit { get; set; }
Property Value
Geometry
Filter geometry in GeoServices JSON form (point, envelope, multipoint, paths or rings).
public IReadOnlyDictionary<string, object?>? Geometry { get; set; }
Property Value
NearestCount
Number of nearest neighbors to return for KNN filtering.
public int NearestCount { get; set; }
Property Value
ReturnDistance
Whether to include computed distance in KNN results.
public bool ReturnDistance { get; set; }
Property Value
SpatialReference
Spatial reference of the filter geometry.
public SpatialReference? SpatialReference { get; set; }
Property Value
SpatialRelationship
Spatial relationship used for filtering.
public SpatialRelationship SpatialRelationship { get; set; }