Table of Contents

Class OgcRecord

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

A GeoJSON-compatible metadata record returned by OGC API Records.

public sealed class OgcRecord
Inheritance
OgcRecord
Inherited Members

Properties

AdditionalProperties

Additional server-specific record 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>

Geometry

The record geometry or footprint as raw GeoJSON.

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

Property Value

JsonElement?

Id

The record identifier.

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

Property Value

JsonElement?

Navigation and related-resource links.

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

Property Value

IReadOnlyList<OgcRecordsLink>

Properties

Record properties as raw JSON elements for profile flexibility.

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

Property Value

Dictionary<string, JsonElement>

Type

The GeoJSON type.

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

Property Value

string