AlignerFeature

feature_data.AlignerFeature(data_id, brdr_id, geometry, properties)

A container for a single thematic or reference feature within the aligner.

This class wraps a geometry and its associated metadata, providing a standardized structure for the alignment process.

Attributes

Name Type Description
data_id ThematicId Source id for the feature.
brdr_id str The unique identifier for this feature (ThematicId).
geometry BaseGeometry The shapely geometry object representing the spatial component.
properties dict[str, Any] A dictionary containing the original attributes of the feature.

Notes

The AlignerFeature is typically stored within an AlignerFeatureCollection. It serves as the atomic unit that the BaseProcessor acts upon.

Examples

>>> from shapely.geometry import Point
>>> feature = AlignerFeature(
...     brdr_id="feat_01",
...     geometry=Point(0, 0),
...     properties={"type": "boundary"}
... )