Table of Contents

Class S57ExchangeSetCell

Namespace
EncDotNet.S100.Datasets.S57
Assembly
EncDotNet.S100.Datasets.S57.dll

One base cell discovered in an S-57 / S-63 exchange-set catalogue (CATALOG.031), together with its in-set sequential update files and (optionally) its geographic extent.

public sealed class S57ExchangeSetCell
Inheritance
S57ExchangeSetCell
Inherited Members

Remarks

A cell is identified by an 8-character cell name (S-57 Appendix B.1 §B.1 "Dataset names"). The base cell carries the .000 file extension; its updates carry .001, .002, … in application order (S-57 Part 3, dataset updating). Both RelativePath and UpdateRelativePaths are normalised to the current platform's directory separator so they can be opened directly from a FileSystemAssetSource rooted at the exchange-set directory.

Properties

BoundingBox

The cell's geographic extent (EPSG:4326) from the catalogue's CATD bounding-box fields, or null when the catalogue did not declare one for the base cell.

public BoundingBox? BoundingBox { get; init; }

Property Value

BoundingBox

CellName

The 8-character cell name (e.g. US5MA1BO).

public required string CellName { get; init; }

Property Value

string

LongFileName

The base cell's long file name (CATD LFIL), or null when the catalogue leaves it empty. Producers often use it for the cell's human-readable title.

public string? LongFileName { get; init; }

Property Value

string

RelativePath

Source-relative path of the base cell (….000), normalised to the current platform's directory separator.

public required string RelativePath { get; init; }

Property Value

string

UpdateRelativePaths

Source-relative paths of the in-set sequential update files (….001, ….002, …) in ascending update-number order, normalised to the current platform's directory separator. Empty when the cell has no updates in this exchange set.

public required IReadOnlyList<string> UpdateRelativePaths { get; init; }

Property Value

IReadOnlyList<string>