Class OgcRecord
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
Geometry
The record geometry or footprint as raw GeoJSON.
[JsonPropertyName("geometry")]
public JsonElement? Geometry { get; init; }
Property Value
Id
The record identifier.
[JsonPropertyName("id")]
public JsonElement? Id { get; init; }
Property Value
Links
Navigation and related-resource links.
[JsonPropertyName("links")]
public IReadOnlyList<OgcRecordsLink>? Links { get; init; }
Property Value
Properties
Record properties as raw JSON elements for profile flexibility.
[JsonPropertyName("properties")]
public Dictionary<string, JsonElement>? Properties { get; init; }
Property Value
Type
The GeoJSON type.
[JsonPropertyName("type")]
public string Type { get; init; }