Page 1 of 1
las 1.4 export with extra bytes
Posted: Wed Jun 27, 2018 2:06 pm
by bkabelik
Hi,
I'm trying to copy classification from one point cloud to the other due to broken extra bytes. Everything is working fine until I want to save the data as LAS 1.4.
1. when I try to save as LAS 1.4 I can't select the Riegl extra bytes (echo width, amplitude, scalar fields) and therefore they are also not saved.
2. when I try to save as LAS 1.4 then it saves it as LAS 1.2.
3. Everything is fine when I save it as LAS 1.2 (including extra Bytes).
Can sombody confirm that this is not working with the 2.10-alpha realease? Or am I doing something wrong (I tought maybe I miss something because I cant choose between save to LAS 1.3 and LAS 1.4).
thanks and best regards
benjamin
Re: las 1.4 export with extra bytes
Posted: Thu Jun 28, 2018 5:12 pm
by daniel
The 'LAS 1.3 and 1.4' option is not using the same library than the default filter. Clearly this additional filter was meant to load FWF data from 1.3+ or 1.4 data).
The default filter is using PDAL. I guess it doesn't save LAS 1.4 file if this is not needed? I'm not the author of this filter, therefore I'm not 100% sure about this.
Re: las 1.4 export with extra bytes
Posted: Thu Jun 28, 2018 6:10 pm
by bkabelik
ok understood thanks. You are right I think. afaik you have to tell pdal the minor version and the point dataformat for LAS 1.4 with
--writers.las.minor_version=4 //for LAS 1.4
--writers.las.dataformat_id=6 //point format 6 for returns above 7 returns
Re: las 1.4 export with extra bytes
Posted: Thu Jul 12, 2018 7:27 am
by bkabelik
hi,
i was able to compile cc in windows "successfully" with option_use_gdal and option_pdal_las. Unfortunately I cannot load LAS files in CC.
The console writes when I try to open a file:
[09:08:09] [I/O] CC has caught an exception while loading file 'C:/temp/04_trafo_neu/1_01_20151109_151109_225733_1_originalpoints - Cloud2122323423.las'
[09:08:09] [I/O] Exception: bad allocation
attached are my cmake settings. I tried tu use osgeo4w pdal. I hope this is possible.
Do I also have to install the QLAS_FWF_IO_Plugin to be abel to read LAS?
thanks
Re: las 1.4 export with extra bytes
Posted: Mon Jul 16, 2018 1:29 pm
by daniel
Hum, this error seems to be related to a shortage of memory actually (not a missing third party library or unsupported format/version).
How big is your file?
Re: las 1.4 export with extra bytes
Posted: Tue Jul 17, 2018 6:16 am
by bkabelik
hmm it is 1.6GB.
I could open it in your build 2.10 alpha version.
I also tried a smaller 400mb file, did also not work.
Re: las 1.4 export with extra bytes
Posted: Tue Jul 17, 2018 4:40 pm
by daniel
Which version of PDAL are you using?
Re: las 1.4 export with extra bytes
Posted: Tue Jul 17, 2018 5:34 pm
by bkabelik
i have to check tomorrow at my computer but I'm pretty sure it is 1.7.2 maybe 1.7.1
Re: las 1.4 export with extra bytes
Posted: Wed Jul 18, 2018 7:03 am
by bkabelik
the PDAL version is 1.7.2 (it is the osgeo4w version) I used for building CC
Re: las 1.4 export with extra bytes
Posted: Wed Jul 18, 2018 7:42 pm
by daniel
On my side I compiled CC with version 1.6. I don't know if it is related to the problem?