Class S411FeatureXmlSource
Exposes an S411Dataset's source GML to the vector portrayal
pipeline. The dataset's original XML is passed through unchanged so that
the official S-411 portrayal-catalogue stylesheets — which target the
ice:IceDataSet / ice:IceFeatureMember / ice:<class>
shape — can match against it directly. No projection into the framework's
neutral <Dataset><Features> shape is performed.
public sealed class S411FeatureXmlSource : IFeatureXmlSource
- Inheritance
-
S411FeatureXmlSource
- Implements
- Inherited Members
Constructors
S411FeatureXmlSource(S411Dataset)
Initializes a new S411FeatureXmlSource wrapping the given dataset.
public S411FeatureXmlSource(S411Dataset dataset)
Parameters
datasetS411Dataset
Properties
FeatureTypesPresent
Returns the feature type codes present in the dataset, used to select applicable portrayal rules before running any XSLT transforms.
public IReadOnlyList<string> FeatureTypesPresent { get; }
Property Value
Methods
GetFeatureXml(CancellationToken)
Returns an XmlReader positioned at the start of the S-100 FeatureXML document. The caller owns the reader and will dispose it.
public XmlReader GetFeatureXml(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenSignals that the render has been cancelled. Implementations project FeatureXML from already-in-memory dataset state, so the work is CPU-bound rather than I/O-bound; the token lets a long projection be abandoned cooperatively (the method remains synchronous).