Table of Contents

Class FeatureServerQueryParams

Namespace
Honua.Sdk.GeoServices.FeatureServer.Models
Assembly
Honua.Sdk.GeoServices.dll

Query parameters for FeatureServer query operations. Uses init-only properties; advance paging with record with { ... }.

public sealed record FeatureServerQueryParams : IEquatable<FeatureServerQueryParams>
Inheritance
FeatureServerQueryParams
Implements
Inherited Members

Properties

Format

Output format.

public FeatureServerFormat? Format { get; init; }

Property Value

FeatureServerFormat?

GroupByFieldsForStatistics

Comma-separated list of fields to group statistics by.

public string? GroupByFieldsForStatistics { get; init; }

Property Value

string

Having

SQL HAVING clause for filtering grouped statistics.

public string? Having { get; init; }

Property Value

string

InSR

Input spatial reference WKID for the spatial filter geometry.

public int? InSR { get; init; }

Property Value

int?

ObjectIds

Specific object IDs to return.

public IReadOnlyList<long>? ObjectIds { get; init; }

Property Value

IReadOnlyList<long>

OrderByFields

Fields to order results by (e.g., "NAME ASC, POP DESC").

public string? OrderByFields { get; init; }

Property Value

string

OutFields

Comma-separated list of fields to return (default: all with "*").

public string? OutFields { get; init; }

Property Value

string

OutSR

Output spatial reference WKID.

public int? OutSR { get; init; }

Property Value

int?

OutStatistics

Statistics definitions as JSON array.

public string? OutStatistics { get; init; }

Property Value

string

ResultOffset

Number of records to skip (for paging).

public int? ResultOffset { get; init; }

Property Value

int?

ResultRecordCount

Maximum number of records to return per page.

public int? ResultRecordCount { get; init; }

Property Value

int?

ReturnCountOnly

Whether to return only the count of matching features.

public bool? ReturnCountOnly { get; init; }

Property Value

bool?

ReturnDistinctValues

Whether to return only distinct values.

public bool? ReturnDistinctValues { get; init; }

Property Value

bool?

ReturnExtentOnly

Whether to return only the extent of matching features.

public bool? ReturnExtentOnly { get; init; }

Property Value

bool?

ReturnGeometry

Whether to return geometry (default: true).

public bool? ReturnGeometry { get; init; }

Property Value

bool?

ReturnIdsOnly

Whether to return only matching object IDs.

public bool? ReturnIdsOnly { get; init; }

Property Value

bool?

ReturnM

Whether to return M values. Sources omit M unless it is requested, so an import that must preserve M sets this to true.

public bool? ReturnM { get; init; }

Property Value

bool?

ReturnTrueCurves

Whether to request original curve paths and rings instead of densified geometry. Null leaves the source default unchanged. Raw query responses preserve the source's curve JSON; this option does not enable linear geometry converters to interpret curves.

public bool? ReturnTrueCurves { get; init; }

Property Value

bool?

ReturnZ

Whether to return Z values. Sources omit Z unless it is requested, so an import that must preserve Z sets this to true.

public bool? ReturnZ { get; init; }

Property Value

bool?

SpatialFilter

Spatial filter for the query.

public FeatureServerSpatialFilter? SpatialFilter { get; init; }

Property Value

FeatureServerSpatialFilter

Time

Time instant or range filter (epoch milliseconds, e.g., "1609459200000" or "1609459200000,1640995200000").

public string? Time { get; init; }

Property Value

string

TimeRelation

Temporal relationship for the time filter.

public TimeRelation? TimeRelation { get; init; }

Property Value

TimeRelation?

Where

SQL WHERE clause to filter features.

public string? Where { get; init; }

Property Value

string