Image From Metadata#
Builder
|
Build an |
Functions
|
Build an image (camera + EOR) from metadata. |
- class weitsicht.metadata.image_from_meta.ImageFromMetaBuilder(tags: MetaTagsBase | MetaTagAll)[source]#
Build an
ImagePerspectivefrom metadata.The builder caches intermediate results (IOR/EOR) and provides a single place to add tracing/debug information in the future.
- Parameters:
tags (MetaTagsBase | MetaTagAll)
- __init__(tags: MetaTagsBase | MetaTagAll)[source]#
- Parameters:
tags (MetaTagsBase | MetaTagAll)
- ior() IORFromMetaResultSuccess | ResultFailure[MetadataIssue][source]#
- Return type:
- eor(crs: CRS | None = None, vertical_ref: str = 'ellipsoidal', height_rel: float = 0.0) EORFromMetaResultSuccess | ResultFailure[MetadataIssue][source]#
- Parameters:
crs (CRS | None)
vertical_ref (str)
height_rel (float)
- Return type:
- image(crs: CRS | None = None, vertical_ref: str = 'ellipsoidal', height_rel: float = 0.0) ImageFromMetaResultSuccess | ResultFailure[MetadataIssue][source]#
- Parameters:
crs (CRS | None)
vertical_ref (str)
height_rel (float)
- Return type:
- weitsicht.metadata.image_from_meta.image_from_meta(tags: MetaTagsBase | MetaTagAll, crs: CRS | None = None, vertical_ref: str = 'ellipsoidal', height_rel: float = 0.0) ImageFromMetaResultSuccess | ResultFailure[MetadataIssue][source]#
Build an image (camera + EOR) from metadata.
- Parameters:
tags (MetaTagsBase | MetaTagAll) – Tag resolver instance or already-resolved tag container.
crs (CRS | None) – Optional override CRS for interpreting GPS tags, defaults to
None.vertical_ref (str) – Vertical reference mode passed to
eor_from_meta(), defaults toellipsoidal.height_rel (float) – Reference height (meters) for
vertical_ref='relative', defaults to0.0.
- Returns:
Successful image build result or a failure result.
- Return type: