VUKOZ-OEL / 3d-forest-classic

software for analysis of Lidar data from forest environment.
GNU General Public License v3.0
84 stars 26 forks source link

Importing PCD gives: Failed to find match for field 'x'. Failed to find match for field 'y'. Failed to find match for field 'z'. Failed to find match for field 'intensity'. #17

Open mavavilj opened 3 years ago

mavavilj commented 3 years ago

Hello,

Importing PDAL (https://pdal.io/stages/writers.pcd.html) created .pcd gives error:

Failed to find match for field 'x'. Failed to find match for field 'y'. Failed to find match for field 'z'. Failed to find match for field 'intensity'.

in 3D Forest's console.

Can you point out, what I did wrong? Do the fields have to be specified somehow specifically?

The .pcd file that I'm trying to import starts like:

VERSION 0.7 FIELDS x y z intensity SIZE 8 8 8 8 TYPE F F F F COUNT 1 1 1 1 ...

So it seems like it has the right fields.

OTOH, I'm converting from a .las, where the convention is X, Y, Z (capitalized).

janekT commented 3 years ago

Hi, your pcd file is binary or ascii? also you can import las file directly into 3D forest.

mavavilj commented 3 years ago

Above it was "binary".

I tried importing the .las directly without conversion to .pcd.

In this case it gives:

"importing las file finished"

and then crashes.

janekT commented 3 years ago

HI, did you craeted project before you import data?