Table of Contents

Class OgcFeatureCollection

Namespace
Honua.Sdk.OgcFeatures.Models
Assembly
Honua.Sdk.OgcFeatures.dll

A GeoJSON FeatureCollection from an OGC API Features items response.

public sealed class OgcFeatureCollection
Inheritance
OgcFeatureCollection
Inherited Members

Properties

Features

The features in this page.

[JsonPropertyName("features")]
public IReadOnlyList<OgcFeature>? Features { get; init; }

Property Value

IReadOnlyList<OgcFeature>

Navigation links including "next" for paging.

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

Property Value

IReadOnlyList<OgcLink>

NumberMatched

Total number of features matching the query (server-reported).

[JsonPropertyName("numberMatched")]
[JsonConverter(typeof(TolerantNullableInt64Converter))]
public long? NumberMatched { get; init; }

Property Value

long?

NumberReturned

Number of features returned in this page.

[JsonPropertyName("numberReturned")]
public int? NumberReturned { get; init; }

Property Value

int?

Type

The GeoJSON type (always "FeatureCollection").

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

Property Value

string