py3dtiles.points.task.xyz_reader module

py3dtiles.points.task.xyz_reader.init(files, color_scale=None, srs_in=None, srs_out=None, fraction=100)[source]
py3dtiles.points.task.xyz_reader.run(_id, filename, offset_scale, portion, queue, transformer, verbose)[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