[Liblas-devel] las2txt: Error returned when using keep-scan-angle filter

Jean-Matthieu Monnet jean-matthieu.monnet at irstea.fr
Thu Feb 9 05:21:24 EST 2012


Dear developpers,

I just compiled libLAS 1.7.0 on ubuntu 10.04. Everything works fine except that
I obtain an error when using las2txt at the command line with a
"keep-scan-angle" filter.

Output of las2txt with keep-scan-angle filter:
las2txt -i test.laz --delimiter ";" --parse xyza --stdout --keep-scan-angle 0-90
error: bad lexical cast: source type value could not be interpreted as target

I uploaded a subset of this file at
http://download.grenoble.cemagref.fr/ed1zxld4pli

This may be due to the fact that the data provider coded the scan angle in the
range 61 to 119 (origin at the horizon) instead of -29 to +29.
Is there any way the make this filter work ?

Thank you very much for your answer, and for this useful library !
JM






More information about the Liblas-devel mailing list