Table of Contents

Class RasterWindowReadRequest

Namespace
Honua.Sdk.Abstractions.Data
Assembly
Honua.Sdk.Abstractions.dll

Request for a windowed/subset raster read: the cells covered by an extent, sampled to a target pixel size. Mirrors a clipped-extent raster read used by geoprocessing tools so a large raster can be windowed rather than transferred whole.

public sealed record RasterWindowReadRequest : IEquatable<RasterWindowReadRequest>
Inheritance
RasterWindowReadRequest
Implements
Inherited Members

Properties

AdditionalParameters

Additional provider parameters that do not affect SDK display behavior.

public IReadOnlyDictionary<string, string?>? AdditionalParameters { get; init; }

Property Value

IReadOnlyDictionary<string, string>

BandIndexes

Band indexes to include. Empty or null means provider default.

public IReadOnlyList<int>? BandIndexes { get; init; }

Property Value

IReadOnlyList<int>

Extent

Bounding extent of the window to read. Required.

public required FeatureBoundingBox Extent { get; init; }

Property Value

FeatureBoundingBox

Format

Requested output format. GeoTiff yields a georeferenced window suitable for writing to disk; provider defaults apply for ProviderDefault.

public RasterWindowFormat Format { get; init; }

Property Value

RasterWindowFormat

Height

Target window height in pixels. Required and must be positive.

public required int Height { get; init; }

Property Value

int

NoData

No-data value(s) to apply to the returned window, when supported.

public string? NoData { get; init; }

Property Value

string

OutputSpatialReference

Output spatial reference identifier for the returned window. When null the provider returns the window in the dataset / extent CRS.

public string? OutputSpatialReference { get; init; }

Property Value

string

ResamplingMethod

Resampling method used when sampling the window to the target size.

public RasterResamplingMethod ResamplingMethod { get; init; }

Property Value

RasterResamplingMethod

Selector

Optional provider mosaic rule, raster item filter, or version selector.

public JsonElement? Selector { get; init; }

Property Value

JsonElement?

Source

Provider-specific raster source identifiers.

public SpatialDataSource Source { get; init; }

Property Value

SpatialDataSource

Width

Target window width in pixels. Required and must be positive. Combined with Height this is the sampled raster size returned for the requested extent.

public required int Width { get; init; }

Property Value

int