Table of Contents

Class OgcCoverageResponse

Namespace
Honua.Sdk.Coverages.Models
Assembly
Honua.Sdk.Coverages.dll

Streaming response returned by an OGC API Coverages /coverage request.

public sealed class OgcCoverageResponse : IDisposable, IAsyncDisposable
Inheritance
OgcCoverageResponse
Implements
Inherited Members

Constructors

OgcCoverageResponse(Stream, OgcCoverageMetadata?)

Initializes a new instance of OgcCoverageResponse owning content.

public OgcCoverageResponse(Stream content, OgcCoverageMetadata? metadata = null)

Parameters

content Stream
metadata OgcCoverageMetadata

Properties

Content

Coverage payload stream owned by this response.

public Stream Content { get; }

Property Value

Stream

ContentBbox

Parsed bounding box from the Content-Bbox header, when present.

public IReadOnlyList<double>? ContentBbox { get; }

Property Value

IReadOnlyList<double>

ContentCrs

CRS URI-reference from the Content-Crs header, when present.

public string? ContentCrs { get; }

Property Value

string

ContentLength

Response content length in bytes, when reported by the server.

public long? ContentLength { get; }

Property Value

long?

ContentType

Response media type.

public string? ContentType { get; }

Property Value

string

LinkHeader

Raw Link response header advertising self and alternate encodings, when present.

public string? LinkHeader { get; }

Property Value

string

Methods

Dispose()

Disposes the owned response stream.

public void Dispose()

DisposeAsync()

Asynchronously disposes the owned response stream.

public ValueTask DisposeAsync()

Returns

ValueTask