Export to .las or .laz

If you are allergic to bug trackers, you can post here any remarks, issues and potential bugs you encounter
Post Reply
gonzalotap
Posts: 10
Joined: Sun Apr 22, 2012 8:46 am

Export to .las or .laz

Post 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
daniel
Site Admin
Posts: 7707
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Export to .las or .laz

Post 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.
Daniel, CloudCompare admin
framed
Posts: 13
Joined: Wed Feb 25, 2015 1:23 am

Re: Export to .las or .laz

Post 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.
daniel
Site Admin
Posts: 7707
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Export to .las or .laz

Post 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).
Daniel, CloudCompare admin
Post Reply