Class ExchangeSetLayout
- Namespace
- EncDotNet.S100.Collections
- Assembly
- EncDotNet.S100.Collections.dll
The file-naming rules that identify exchange sets on disk: S-100
(CATALOG.XML) and S-57 (CATALOG.031) catalogues. Shared by
collection indexing and hosts that open exchange sets directly, so
detection has one owner.
public static class ExchangeSetLayout
- Inheritance
-
ExchangeSetLayout
- Inherited Members
Fields
S57CatalogueName
The S-57 exchange-set catalogue file name (S-57 Part 3 §B.1).
public const string S57CatalogueName = "CATALOG.031"
Field Value
Properties
S100CatalogueNames
Accepted S-100 exchange-catalogue file names, preferred first. S-100
Part 17 names the file CATALOG.XML; some producers write
CATALOGUE.XML. See ExchangeSetRoot.
public static IReadOnlyList<string> S100CatalogueNames { get; }
Property Value
Methods
IsS100CatalogueName(string?)
True when fileName is an S-100 exchange-catalogue name (case-insensitive).
public static bool IsS100CatalogueName(string? fileName)
Parameters
fileNamestring
Returns
IsS57CatalogueName(string?)
True when fileName is the S-57 catalogue name (case-insensitive).
public static bool IsS57CatalogueName(string? fileName)
Parameters
fileNamestring
Returns
PickS100Catalogue(IEnumerable<string?>)
Picks the S-100 catalogue among fileNames, preferring
CATALOG.XML, or returns null.
public static string? PickS100Catalogue(IEnumerable<string?> fileNames)
Parameters
fileNamesIEnumerable<string>