Services / Change Review Export
ChangeReviewExportService
- class teksi_hooks.services.change_review_export.ChangeReviewExportService(object_provider, geometry_attribute_names_by_class=<factory>)[source]
Prepare classified changes as review features.
This service is hook-side and storage-format independent.
It converts ClassifiedChanges into ReviewFeature objects grouped by canonical class. Plugin-side services can then persist those features into a storage backend.
Geometry attributes are metadata-driven through geometry_attribute_names_by_class.
- Parameters:
object_provider (ChangeObjectProvider)
geometry_attribute_names_by_class (Mapping[str, Sequence[str]])
- export(classified)[source]
Build review features grouped by canonical class.
- Parameters:
classified (ClassifiedChanges)
- Return type:
dict[str, list[ReviewFeature]]
Fields
object_providerType:
ChangeObjectProvidergeometry_attribute_names_by_classType:
Mapping[str, Sequence[str]]