Table of Contents

Class OgcFeaturesVectorClientExtensions

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

Typed vector payload helpers for OGC API Features clients.

public static class OgcFeaturesVectorClientExtensions
Inheritance
OgcFeaturesVectorClientExtensions
Inherited Members

Methods

GetItemsVectorAsync(IHonuaOgcFeaturesClient, string, OgcItemsParams?, VectorPayloadFormat?, CancellationToken)

Gets items from a collection and parses supported vector payload formats into typed features with NetTopologySuite geometries.

public static Task<VectorPayloadFeatureSet> GetItemsVectorAsync(this IHonuaOgcFeaturesClient client, string collectionId, OgcItemsParams? query = null, VectorPayloadFormat? format = null, CancellationToken cancellationToken = default)

Parameters

client IHonuaOgcFeaturesClient

OGC API Features client.

collectionId string

The collection identifier.

query OgcItemsParams

Optional query parameters for filtering, paging, and projection.

format VectorPayloadFormat?

Optional shared vector format. Defaults to the format specified by query, or GeoJSON.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<VectorPayloadFeatureSet>

The parsed typed vector payload.