Table of Contents

Class GeoServicesJsonVectorPayloadReader

Namespace
Honua.Sdk.Geometry.Vector
Assembly
Honua.Sdk.Geometry.dll

Reads GeoServices JSON feature payloads into typed vector features.

public sealed class GeoServicesJsonVectorPayloadReader : IVectorPayloadReader
Inheritance
GeoServicesJsonVectorPayloadReader
Implements
Inherited Members

Properties

Format

The GeoServices JSON vector payload format.

public VectorPayloadFormat Format { get; }

Property Value

VectorPayloadFormat

Instance

Shared stateless reader instance.

public static GeoServicesJsonVectorPayloadReader Instance { get; }

Property Value

GeoServicesJsonVectorPayloadReader

Methods

Read(JsonElement, VectorPayloadReadOptions?)

Reads a GeoServices JSON payload from a JSON element.

public VectorPayloadFeatureSet Read(JsonElement root, VectorPayloadReadOptions? options = null)

Parameters

root JsonElement
options VectorPayloadReadOptions

Returns

VectorPayloadFeatureSet

ReadAsync(Stream, VectorPayloadReadOptions?, CancellationToken)

Reads a GeoServices JSON payload from a stream.

public Task<VectorPayloadFeatureSet> ReadAsync(Stream stream, VectorPayloadReadOptions? options = null, CancellationToken cancellationToken = default)

Parameters

stream Stream
options VectorPayloadReadOptions
cancellationToken CancellationToken

Returns

Task<VectorPayloadFeatureSet>