Page 1 of 1

Export to .las or .laz

Posted: Tue Jun 04, 2013 3:02 pm
by gonzalotap
When I export a cloud into a file with extension .las or laz, donĀ“t record a scalar value and when I open this the scalar values are loss.

Thanks Dani

Re: Export to .las or .laz

Posted: Tue Jun 04, 2013 6:55 pm
by daniel
In fact the LAS/LAZ format can only handle some predetermined fields (see http://asprs.org/a/society/committees/s ... _3_r11.pdf).

The last release version can handle a few of them (time, classification, intensity and return index if I remember well). The current version (in the github trunk) can handle almost all of the remaining fields.

Anyway you can't save a custom scalar field (there's a 'user data' field, but it can only store 8 bits number, i.e. integer values between 0 and 255). I'll add a warning message so that the user is warned when he tries to save a cloud with a custom SF in LAS format.

Re: Export to .las or .laz

Posted: Wed Sep 09, 2015 11:11 pm
by framed
If a scalar field contains an integer representing Intensity (such as from a PTS file), couldn't Cloud Compare export it to LAS/LAZ as Intensity? This is how the e57 export works.

Re: Export to .las or .laz

Posted: Thu Sep 10, 2015 5:18 am
by daniel
For intensity you just have to rename the scalar field to "Intensity" (mind the capital 'i') and CC will use it when saving a LAS/LAZ file. I believe there are some constraints on the intensity values in a LAS file (something like they will be stored as integer values on 16 bits).