Table of Contents

Class FeatureGeometryProvider<TFeature>

Namespace
EncDotNet.S100.Pipelines.Vector
Assembly
EncDotNet.S100.Core.dll

Generic geometry provider for S-100 vector datasets.

public sealed class FeatureGeometryProvider<TFeature> : IFeatureGeometryProvider where TFeature : IS100Feature

Type Parameters

TFeature

The concrete feature type, constrained to IS100Feature.

Inheritance
FeatureGeometryProvider<TFeature>
Implements
Inherited Members

Remarks

Replaces the identical per-spec S{NNN}FeatureGeometryProvider classes that each implemented the same surface → curve → point preference logic. Serves both the GML-encoded products and the ISO 8211-encoded S-101 path (whose pipeline Feature records implement IS100Feature). When a feature exposes multiple geometry kinds the provider prefers, in order: surface (with interior rings), the first curve, then points.

Constructors

FeatureGeometryProvider(IReadOnlyList<TFeature>)

Builds a provider over the supplied features.

public FeatureGeometryProvider(IReadOnlyList<TFeature> features)

Parameters

features IReadOnlyList<TFeature>

Methods

GetGeometry(string)

Returns the geometry for the feature identified by featureReference, or null if no matching feature exists.

public FeatureGeometry? GetGeometry(string featureReference)

Parameters

featureReference string

Returns

FeatureGeometry