py3dtiles.points.task.xyz_reader module

py3dtiles.points.task.xyz_reader.init(paths: List[Path], color_scale=None, srs_in=None, srs_out=None, fraction=100)[source]
py3dtiles.points.task.xyz_reader.run(filename: str, offset_scale, portion, queue, transformer)[source]

Reads points from a xyz file

Consider XYZIRGB format following FME documentation(*). If the number of features does not correspond (i.e. does not equal to 7), we do the following hypothesis: - 3 features mean XYZ - 4 features mean XYZI - 6 features mean XYZRGB

(*) See: https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_ReadersWriters/pointcloudxyz/pointcloudxyz.htm