Table of Contents

Class StacItem

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

Single STAC item. Items are GeoJSON features with STAC-specific collection, asset, version, and extension members.

public sealed class StacItem
Inheritance
StacItem
Inherited Members

Properties

AdditionalProperties

Additional server-specific or extension item 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>

Assets

Assets associated with this item, keyed by asset role or name.

[JsonPropertyName("assets")]
public IReadOnlyDictionary<string, StacAsset>? Assets { get; init; }

Property Value

IReadOnlyDictionary<string, StacAsset>

Bbox

Item bounding box as [minLon, minLat, maxLon, maxLat], or 3D equivalent.

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

Property Value

IReadOnlyList<double>

Collection

The collection identifier that owns the item.

[JsonPropertyName("collection")]
public string? Collection { get; init; }

Property Value

string

Geometry

The item geometry or footprint as raw GeoJSON.

[JsonPropertyName("geometry")]
public JsonElement? Geometry { get; init; }

Property Value

JsonElement?

Id

The STAC item identifier.

[JsonPropertyName("id")]
public string Id { get; init; }

Property Value

string

Navigation and related-resource links.

[JsonPropertyName("links")]
public IReadOnlyList<StacLink>? Links { get; init; }

Property Value

IReadOnlyList<StacLink>

Properties

Item properties as raw JSON elements for STAC extension flexibility.

[JsonPropertyName("properties")]
public Dictionary<string, JsonElement>? Properties { get; init; }

Property Value

Dictionary<string, JsonElement>

StacExtensions

STAC extension URIs advertised by the item.

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

Property Value

IReadOnlyList<string>

StacVersion

The STAC version advertised by the item.

[JsonPropertyName("stac_version")]
public string? StacVersion { get; init; }

Property Value

string

Type

The GeoJSON type.

[JsonPropertyName("type")]
public string Type { get; init; }

Property Value

string