gpf_common_point_cloud.utils.entwine_utils module¶
Helpers to use entwine
- gpf_common_point_cloud.utils.entwine_utils.determine_subsets_number(laslaz_dir: Path, max_tile_per_subset: int) tuple[int, int] ¶
Determine how many subsets are needed and the total number of points in the subsets
- Paramètres:
laslaz_dir (Path) – path to the upload dir containing las/laz file to compute
max_tile_per_subset (int) – Maximum number of tile per subset.
- Renvoie:
subset number, or -1 if an error occured and the total number of points in the subsets
- Type renvoyé:
Tuple[int, int]
- gpf_common_point_cloud.utils.entwine_utils.run_entwine(config_file: Path, step: EntwineStep) Status ¶
Execute entwine
- Paramètres:
config_file (Path) – Path to the config file must be used
step (EntwineStep) – step we want to run (build or merge)
- Renvoie:
SUCCESS if execution OK TECHNICAL_ERROR otherwise
- Type renvoyé:
Status