Table of Contents

Class SpatialFilter

Namespace
Honua.Sdk.Grpc.Models
Assembly
Honua.Sdk.Grpc.dll

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

double

DistanceUnit

Distance unit for distance-based relationships.

public DistanceUnit DistanceUnit { get; set; }

Property Value

DistanceUnit

Geometry

Filter geometry in GeoServices JSON form (point, envelope, multipoint, paths or rings).

public IReadOnlyDictionary<string, object?>? Geometry { get; set; }

Property Value

IReadOnlyDictionary<string, object>

NearestCount

Number of nearest neighbors to return for KNN filtering.

public int NearestCount { get; set; }

Property Value

int

ReturnDistance

Whether to include computed distance in KNN results.

public bool ReturnDistance { get; set; }

Property Value

bool

SpatialReference

Spatial reference of the filter geometry.

public SpatialReference? SpatialReference { get; set; }

Property Value

SpatialReference

SpatialRelationship

Spatial relationship used for filtering.

public SpatialRelationship SpatialRelationship { get; set; }

Property Value

SpatialRelationship