[pdal] PDAL: ERROR: column pcid (1) and patch pcid (2) are not consistent

Florent Poux fpoux at ulg.ac.be
Fri Jun 9 06:03:36 PDT 2017


Hey all,

I get this error : "PDAL: ERROR:  column pcid (1) and patch pcid (2) are 
not consistent" when trying to write a txt file to a PGSQL database 
using pointcloud writer.

The strange thing is, with an almost similar file no problems :

Working file:

X;Y;Z;Rf;Gf;Bf;intensity;curvature;illuminance_(PCV);Volume_density_(r0_01);Roughness(0_01);Nox;Noy;Noz 

1.44103062;-2.50073195;-1.46879423;0.878431;0.909804;0.921569;0.032593;0.159352;0.661017;11459157.000000;0.000412;-0.692524;-0.179657;0.698666
1.40535712;-2.44083643;-1.55097425;0.533333;0.533333;0.439216;0.011353;0.190419;0.559322;12891551.000000;0.000149;-0.290188;0.723066;0.626871

Not working file:

X;Y;Z;R;G;B;intensity;curvature;illuminance_(PCV);Volume_density_(r0_01);Roughness(0_01);Nox;Noy;Noz
1.44103062;-2.50073195;-1.46879423;224;232;235;0.032593;0.159352;0.661017;11459157.000000;0.000412;-0.692524;-0.179657;0.698666
1.40535712;-2.44083643;-1.55097425;136;136;112;0.011353;0.190419;0.559322;12891551.000000;0.000149;-0.290188;0.723066;0.626871

The only change is R, G and B which are not float value in the second. 
In my database, I have one schema linked to the first file that was 
automatically created by PDAL during the translation. I tried changing 
the SRID in the pipeline but doesn't solve the problem.

Any ideas ?

Thanks !

Florent



More information about the pdal mailing list