Class S128PortrayalCatalogue
S-128 portrayal catalogue. Delegates all XSLT-based portrayal
infrastructure to GmlPortrayalCatalogueBase, and wraps the
upstream main rule in an adapter that draws product coverages as
outlines only.
public sealed class S128PortrayalCatalogue : GmlPortrayalCatalogueBase, IVectorPortrayalCatalogue, IPortrayalCatalogue, IXsltRuleSource, ILuaRuleSource, IPortrayalAssetSource
- Inheritance
-
S128PortrayalCatalogue
- Implements
- Inherited Members
Remarks
The bundled catalogue is byte-identical to the IHO upstream, which fills
each product coverage 70 % opaque on OVERRADAR. Over an ENC, nested
products (a harbour cell inside an approach cell) stack to near-opaque and
hide the chart, which S-98 Main ยง9.2.1 forbids. Upstream issue #51 and the
upstream Lua port (PR #56) drop the fills; the adapter
(Adapter/outlineOnly.xsl) does the same until the bundled catalogue
is refreshed.
Constructors
S128PortrayalCatalogue(PortrayalCatalogueProvider)
Creates an S-128 portrayal catalogue backed by the given provider.
public S128PortrayalCatalogue(PortrayalCatalogueProvider provider)
Parameters
providerPortrayalCatalogueProviderThe portrayal catalogue provider that supplies rule files and assets.
Exceptions
- ArgumentNullException
providerisnull.
Properties
Spec
The product specification (name + edition) this catalogue targets.
public override SpecRef Spec { get; }
Property Value
Methods
GetCompiledRuleAsync(string, CancellationToken)
For the main rule, returns the outline-only adapter compiled
over the upstream rule files. All other rules delegate to base.
public override ValueTask<XslCompiledTransform> GetCompiledRuleAsync(string ruleName, CancellationToken cancellationToken = default)
Parameters
ruleNamestringcancellationTokenCancellationToken