Class CoverageOverviewLevel
Describes a single resolution level in a coverage overview pyramid (S-100 Part 10c HDF5 grids; issue #486).
public sealed record CoverageOverviewLevel : IEquatable<CoverageOverviewLevel>
- Inheritance
-
CoverageOverviewLevel
- Implements
- Inherited Members
Remarks
Overview levels share the source grid's geographic extent and CRS; only Rows, Cols, and the spacings change. A source serving pooled overview cells is responsible for placing the overview origin at each first pooling block's centre rather than reusing the first source node as the pooled cell's centre. See S-100 Part 10c §11 for grid conventions.
Constructors
CoverageOverviewLevel(int, int, int, double, double)
Describes a single resolution level in a coverage overview pyramid (S-100 Part 10c HDF5 grids; issue #486).
public CoverageOverviewLevel(int Level, int Rows, int Cols, double SpacingLatitudinal, double SpacingLongitudinal)
Parameters
LevelintZero-based level index. Level 0 is the native (base) grid, level 1 is half-resolution, level 2 quarter-resolution, and so on: each step is a 2× reduction in each axis (4× reduction in cell count).
RowsintRows in this level's grid.
ColsintColumns in this level's grid.
SpacingLatitudinaldoubleGrid spacing in the latitudinal direction for this level, in the same native-CRS units as the source's base grid. Doubles per level (level 1 spacing = 2 × base spacing).
SpacingLongitudinaldoubleGrid spacing in the longitudinal direction for this level, in the same native-CRS units as the source's base grid.
Remarks
Overview levels share the source grid's geographic extent and CRS; only Rows, Cols, and the spacings change. A source serving pooled overview cells is responsible for placing the overview origin at each first pooling block's centre rather than reusing the first source node as the pooled cell's centre. See S-100 Part 10c §11 for grid conventions.
Properties
Cols
Columns in this level's grid.
public int Cols { get; init; }
Property Value
Level
Zero-based level index. Level 0 is the native (base) grid, level 1 is half-resolution, level 2 quarter-resolution, and so on: each step is a 2× reduction in each axis (4× reduction in cell count).
public int Level { get; init; }
Property Value
Rows
Rows in this level's grid.
public int Rows { get; init; }
Property Value
SpacingLatitudinal
Grid spacing in the latitudinal direction for this level, in the same native-CRS units as the source's base grid. Doubles per level (level 1 spacing = 2 × base spacing).
public double SpacingLatitudinal { get; init; }
Property Value
SpacingLongitudinal
Grid spacing in the longitudinal direction for this level, in the same native-CRS units as the source's base grid.
public double SpacingLongitudinal { get; init; }