Table of Contents

Class S421Dataset

Namespace
EncDotNet.S100.Datasets.S421
Assembly
EncDotNet.S100.Datasets.S421.dll

Root data model for an S-421 Route Plan dataset, parsed from S-100 Part 10b GML encoding via EncDotNet.S100.Datasets.S421.S421DatasetReader.

public sealed class S421Dataset
Inheritance
S421Dataset
Inherited Members

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

AxisOrderAssessment

DatasetIdentifier

The dataset identifier (typically the gml:id on the root element).

public string? DatasetIdentifier { get; init; }

Property Value

string

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

string

Features

Feature instances (parsed from <member> elements). For S-421 these include Route, RouteWaypoints, RouteWaypoint, RouteSchedules, RouteSchedule, RouteWaypointLeg, RouteActionPoints, and RouteActionPoint.

public required IReadOnlyList<S421Feature> Features { get; init; }

Property Value

IReadOnlyList<S421Feature>

InformationTypes

Information type instances (parsed from <imember> elements). For S-421 these include RouteInfo and similar non-spatial types.

public required IReadOnlyList<S421InformationType> InformationTypes { get; init; }

Property Value

IReadOnlyList<S421InformationType>

ProductIdentifier

The product specification identifier (e.g. "S-421").

public string? ProductIdentifier { get; init; }

Property Value

string

Methods

Open(Stream)

Opens an S-421 dataset from a stream.

public static S421Dataset Open(Stream stream)

Parameters

stream Stream

Returns

S421Dataset

Open(string)

Opens an S-421 dataset from a file path.

public static S421Dataset Open(string path)

Parameters

path string

Returns

S421Dataset

ReadMetadata()

Produces the lightweight DatasetMetadata for this parsed dataset: declared specification and raw geographic extent (issue #460).

public DatasetMetadata ReadMetadata()

Returns

DatasetMetadata

ReadMetadata(Stream)

Reads only the lightweight DatasetMetadata for an S-421 dataset from stream (issue #460).

public static DatasetMetadata ReadMetadata(Stream stream)

Parameters

stream Stream

Returns

DatasetMetadata

ReadMetadata(string)

Reads only the lightweight DatasetMetadata for an S-421 dataset at path — its declared specification and geographic extent — for phased / deferred loading (issue #460).

public static DatasetMetadata ReadMetadata(string path)

Parameters

path string

Returns

DatasetMetadata