Table of Contents

Class FeatureServerFeature

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

A single feature from a FeatureServer query response. Attributes are represented as JsonElement for AOT safety. Access values via feature.Attributes["name"].GetString() etc.

public sealed class FeatureServerFeature
Inheritance
FeatureServerFeature
Inherited Members

Properties

Attributes

Feature attributes as a dictionary of JSON elements.

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

Property Value

Dictionary<string, JsonElement>

Geometry

Feature geometry as a raw JSON element (GeoServices JSON format).

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

Property Value

JsonElement?