Skip to main content

Understanding XYZ Files

XYZ file format

 

XYZ files are ASCII datasets that contain columns that represent the dimensions of the point cloud (x, y, z, red, green, blue, intensity…) and rows for each point in the cloud.

 

In principle, the XYZ point cloud format does not follow a very precise structure like the E57, LAS files… This is why you have to structure your file before putting it on the platform.

The principle is simple, the first 3 columns of your file will include the position values of the points of the cloud (x, y, z), the 3 following columns will represent the colors (R, G, B) of each point of the cloud, the other columns will be considered as additional dimensions that you can view on the viewer after converting your file.
 

Please also note that your file must have one of the following separators: comma (,), semicolon (;), space ( ), tab (\t), vertical line (|).

 

Example 1: an XYZ file that has only 3 columns (coordinates only)

17.12130737 23.63888359 -1.77390575
17.11762810 23.63967514 -1.77384436
17.11395645 23.64046478 -1.77380621
17.11028290 23.64125061 -1.77403104
17.10659981 23.64205933 -1.77426898

 

Example 2: an XYZ file with 7 columns (coordinates + colors + an additional dimension)

17.12130737 23.63888359 -1.77390575 149 149 149 1
17.11762810 23.63967514 -1.77384436 153 153 153 1
17.11395645 23.64046478 -1.77380621 151 151 151 1
17.11028290 23.64125061 -1.77403104 146 146 146 4
17.10659981 23.64205933 -1.77426898 142 142 142 4

 

Example 3: an XYZ file that has 4 columns (coordinates + an additional dimension)

17.12130737 23.63888359 -1.77390575 149
17.11762810 23.63967514 -1.77384436 153
17.11395645 23.64046478 -1.77380621 151
17.11028290 23.64125061 -1.77403104 146
17.10659981 23.64205933 -1.77426898 142

In case of problem or difficulty, do not hesitate to contact the platform team.