geo3d.core.pipeline¶
Classes¶
A class Pipeline to create pipelines composed of multiple pdal components arranged in a certain schema. |
Module Contents¶
- class geo3d.core.pipeline.Pipeline(schema: List[altametris.geo3d.core.base.Component])¶
A class Pipeline to create pipelines composed of multiple pdal components arranged in a certain schema.
- schema¶
The schema of the pipeline composed by the components’ keys.
- Type:
list
- blocks_dict¶
A mapping dictionary of the used components and their keys.
- Type:
dict
- links¶
A dictionary containing the links between the different components.
- Type:
dict
- pipeline¶
The concrete pipeline to be executed later.
- Type:
pdal.Pipeline
- schema¶
- blocks_dict¶
- _key_index¶
- _parsed_schema = []¶
- links¶
- pipeline_json = ''¶
- pipeline¶
- _reference_block(block: altametris.geo3d.core.base.Component) str¶
Reference each pdal block component and add it to a mapping dictionary.
- Parameters:
block (Component) – The block component (reader, writer, or filter).
- _parse_schema() List¶
Parse the pipeline’s schema and returns the same schema but with component keys.
- _tagger() None¶
Tag each component’s output.
- _parse_links() Dict[str, List[str]]¶
Create a linking dictionary from the schema.
- _make_links() None¶
Make links on the components’ objects.
- build() pdal.Pipeline¶
Create a pdal pipeline object.
- execute() int¶
Execute the pdal pipeline.
- array() numpy.ndarray¶
Get the output array of the executed pipeline.
- metadata() Dict[str, Any]¶
Get the output metadata of the executed pipeline.