Class S127Dataset
Root data model for an S-127 Marine Resources and Services dataset (IHO S-127 Edition 2.0.0, S-100 Part 10b GML encoding).
public sealed class S127Dataset
- Inheritance
-
S127Dataset
- Inherited Members
Remarks
S-127 carries marine traffic-management features such as pilot boarding places, routeing measures, restricted areas, vessel traffic services, and signal stations. See S-127 Edition 2.0.0 §1 (Overview) for product scope.
Properties
AxisOrder
The outcome of the dataset-level axis-order check (issue #650), or
null when the dataset has no positions. When it is
Swapped the reader
has already read every position longitude first.
public AxisOrderAssessment? AxisOrder { get; init; }
Property Value
DatasetIdentifier
The dataset identifier (the GML gml:id of the root element).
public string? DatasetIdentifier { get; init; }
Property Value
DeclaredEdition
The declared product-specification edition (e.g. "2.0.0") read
from DatasetIdentificationInformation/productEdition, or
null when the dataset declares none. S-100 Part 10b.
public string? DeclaredEdition { get; init; }
Property Value
Features
Feature instances contained in the dataset.
public required IReadOnlyList<S127Feature> Features { get; init; }
Property Value
InformationTypes
Information type instances contained in the dataset.
S-127 Edition 2.0.0 currently has no information types defined,
but the parser preserves any imember children for
forward compatibility with future editions.
public required IReadOnlyList<S127InformationType> InformationTypes { get; init; }
Property Value
ProductIdentifier
The product specification identifier (e.g. "S-127").
public string? ProductIdentifier { get; init; }
Property Value
Methods
Open(Stream)
Opens an S-127 dataset from a stream.
public static S127Dataset Open(Stream stream)
Parameters
streamStream
Returns
Open(string)
Opens an S-127 dataset from a file path.
public static S127Dataset Open(string path)
Parameters
pathstring
Returns
ReadMetadata()
Produces the lightweight DatasetMetadata for this parsed dataset: declared specification and raw geographic extent (issue #460).
public DatasetMetadata ReadMetadata()
Returns
ReadMetadata(Stream)
Reads only the lightweight DatasetMetadata for an S-127
dataset from stream (issue #460).
public static DatasetMetadata ReadMetadata(Stream stream)
Parameters
streamStream
Returns
ReadMetadata(string)
Reads only the lightweight DatasetMetadata for an S-127
dataset at path — its declared specification and
geographic extent — for phased / deferred loading (issue #460).
public static DatasetMetadata ReadMetadata(string path)
Parameters
pathstring