Table of Contents

Class S131Geometry

Namespace
EncDotNet.S100.Datasets.S131.DataModel
Assembly
EncDotNet.S100.Datasets.S131.dll

Strongly-typed geometry payload of an IS131Feature. Wraps the four parallel coordinate collections on S131Feature into a single record so typed consumers do not have to inspect S100GeometryType separately.

public sealed class S131Geometry
Inheritance
S131Geometry
Inherited Members

Remarks

Coordinates are (lat, lon) in decimal degrees per S-100 Part 10b ยง6.2.

Properties

Curves

Curve coordinate sequences (one inner array per curve segment chain).

public IReadOnlyList<IReadOnlyList<GeoPosition>> Curves { get; init; }

Property Value

IReadOnlyList<IReadOnlyList<GeoPosition>>

ExteriorRing

Exterior ring of a surface (empty for non-surface geometries).

public IReadOnlyList<GeoPosition> ExteriorRing { get; init; }

Property Value

IReadOnlyList<GeoPosition>

GeometryType

The geometric primitive type.

public required S131GeometryType GeometryType { get; init; }

Property Value

S131GeometryType

InteriorRings

Interior rings (holes) of a surface (empty for non-surface geometries).

public IReadOnlyList<IReadOnlyList<GeoPosition>> InteriorRings { get; init; }

Property Value

IReadOnlyList<IReadOnlyList<GeoPosition>>

IsEmpty

Convenience: true when the feature has no geometry.

public bool IsEmpty { get; }

Property Value

bool

Points

Point coordinates (non-empty when GeometryType is Point).

public IReadOnlyList<GeoPosition> Points { get; init; }

Property Value

IReadOnlyList<GeoPosition>