Table of Contents

Class StacSearchRequest

Namespace
Honua.Sdk.Catalogs.Stac.Models
Assembly
Honua.Sdk.Catalogs.dll

JSON request body for POST /stac/search.

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

Properties

AdditionalProperties

Additional server-supported search request members.

[JsonExtensionData]
[SuppressMessage("Usage", "CA2227:Collection properties should be read only", Justification = "System.Text.Json source generation requires a setter for JsonExtensionData.")]
public Dictionary<string, JsonElement>? AdditionalProperties { get; set; }

Property Value

Dictionary<string, JsonElement>

Bbox

Bounding box filter as [minLon, minLat, maxLon, maxLat], or 3D equivalent.

[JsonPropertyName("bbox")]
public IReadOnlyList<double>? Bbox { get; init; }

Property Value

IReadOnlyList<double>

Collections

Collection identifiers to include in the search.

[JsonPropertyName("collections")]
public IReadOnlyList<string>? Collections { get; init; }

Property Value

IReadOnlyList<string>

Datetime

Temporal filter as an ISO 8601 instant or interval.

[JsonPropertyName("datetime")]
public string? Datetime { get; init; }

Property Value

string

Fields

Subset of item or asset fields to include or exclude.

[JsonPropertyName("fields")]
public StacFields? Fields { get; init; }

Property Value

StacFields

Filter

CQL2 or server-supported filter expression.

[JsonPropertyName("filter")]
public string? Filter { get; init; }

Property Value

string

FilterLang

Filter language, such as cql2-text.

[JsonPropertyName("filter-lang")]
public string? FilterLang { get; init; }

Property Value

string

Ids

Specific item identifiers to return.

[JsonPropertyName("ids")]
public IReadOnlyList<string>? Ids { get; init; }

Property Value

IReadOnlyList<string>

Intersects

GeoJSON geometry filter.

[JsonPropertyName("intersects")]
public JsonElement? Intersects { get; init; }

Property Value

JsonElement?

Limit

Maximum number of items to return per page.

[JsonPropertyName("limit")]
public int? Limit { get; init; }

Property Value

int?

Next

Opaque server-driven page token used by some STAC servers.

[JsonPropertyName("next")]
public string? Next { get; init; }

Property Value

string

Offset

Number of items to skip when the server supports offset paging.

[JsonPropertyName("offset")]
public int? Offset { get; init; }

Property Value

int?

Query

STAC Query extension payload.

[JsonPropertyName("query")]
public JsonElement? Query { get; init; }

Property Value

JsonElement?

SortBy

Sort expression, when supported by the backing server.

[JsonPropertyName("sortby")]
public string? SortBy { get; init; }

Property Value

string