Class S57ExchangeSetReader
- Namespace
- EncDotNet.S57.ExchangeSets
- Assembly
- EncDotNet.S57.dll
Provides methods to read an S-57 exchange set from a directory on disk.
public static class S57ExchangeSetReader
- Inheritance
-
S57ExchangeSetReader
- Inherited Members
Remarks
This reader scans a directory for the CATALOG.031 file, a base cell file
(.000 extension), and any update files (.001, .002, etc.),
then constructs an S57ExchangeSet describing the file layout.
No file contents are parsed; only the directory structure is examined.
Methods
Read(string)
Reads the exchange set layout from the specified directory.
public static S57ExchangeSet Read(string path)
Parameters
pathstringThe path to the root directory of the exchange set.
Returns
- S57ExchangeSet
The exchange set describing the files found in the directory.
Exceptions
- DirectoryNotFoundException
The directory does not exist.
- FileNotFoundException
No base cell file was found.