This tool allows to display in the terminal the content of a provided uv3 file. It gives access to two types of display : a standard display showing a direct translation of the binary data and a display associated to the Eratosthene Project Earth-attached indexation strategy.
Giving a uv3 file, the command :
./dalai-cat -i /path/to/file.uv3
gives the following output :
-5.408470e-02 +9.716770e-01 +1.663170e+00 01 65 8c 91
+3.464770e-01 +1.506610e+00 +1.661470e+00 01 9e a4 ae
+3.225040e-01 +1.380980e+00 +1.647420e+00 01 96 91 94
-7.398300e-02 +7.118310e-01 +1.636480e+00 01 be c6 b6
-1.483850e-01 +9.703280e-01 +1.664770e+00 01 6a 6e 77
+3.343770e-01 +1.176740e+00 +1.642930e+00 01 42 3d 45
-1.556670e-01 +8.275840e-01 +1.630210e+00 01 af a8 aa
-6.337700e-02 +7.143680e-01 +1.632300e+00 01 81 63 5e
+3.449860e-01 +1.381010e+00 +1.646860e+00 01 6e 67 6e
+8.695900e-02 +1.504980e+00 +1.637830e+00 01 45 3a 3c
+3.596030e-01 +7.074580e-01 +1.658570e+00 01 32 38 3b
+8.846610e-02 +1.872670e+00 +1.659570e+00 01 e8 e3 dc
+1.185860e-01 +1.171390e+00 +1.667650e+00 01 94 8b 8d
+3.460290e-01 +8.140650e-01 +1.676090e+00 01 9c 99 9b
+2.304440e-01 +1.380990e+00 +1.671930e+00 01 44 50 5a
+4.503320e-02 +7.057320e-01 +1.651710e+00 01 6b 62 5e
...
which shows the content of a uv3 file containing only points. The three first number are the x, y and z coordinates of the vertex. The next number gives the primitive type of the vertex (1 for points, 2 for line and 3 for triangles). The three last values are the information associated to each vertex, usually the color of the vertex.
With an uv3 file containing a model aligned in the WGS84 with ellipsoidal heights, the command :
./dalai-cat -i /path/to/file.uv3 -x 32
produce the following output :
12200021307022321057745144745062 01 a5 a3 a3
12200021307022321057745144744372 01 a6 a3 a4
12200021307022321057745144746335 01 a9 a4 a4
12200021307022321057745144764121 01 aa a4 a4
12200021307022321057745144766113 01 a9 a3 a1
12200021307022321057745144762775 01 ac a6 a3
12200021307022321057745146540566 01 b9 b6 b4
12200021307022321057745146542457 01 b3 af aa
12200021307022321057745146542462 01 ab a7 a2
12200021307022321057745146560435 01 aa a5 a0
12200021307022321057745146471560 01 ab a6 a0
12200021307022321057745146471726 01 ab a6 9f
12200021307022321057745146473425 01 a9 a4 9e
12200021307022321057745146472731 01 a5 a1 9b
12200021307022321057745146650713 01 9c 9a 94
12200021307022321057745146653342 01 97 96 90
...
With the --index/-x option, the three spatial coordinates are translated in their Eratosthene Project spatial index with a number of digits corresponding to the value provided through the --index/-x argument.