PDAL/PDAL — Issue #65: qfit -> las writer -- bad lexical cast
Author: gadomski
Created: 2012-01-11 21:36:04+00:00
State: open

pcpipeline is throwing a **bad lexical cast** (@ 775e56b202043ad6841793553859dbe5c5aeae87) when converting from qfit to las. PDAL wasn't compiled in debug mode, so I can't inspect the variables right now. Let me know if you'd like me to check that out.

Here's the XML:

```xml

/home/gridusr/GRiD/apps/pointcloud/fixtures/20100515_152839.atm4bT2.qi.las

true

0.001

EPSG:4919+3855

/home/gridusr/GRiD/apps/pointcloud/fixtures/20100515_152839.atm4bT2.qi.log

/home/gridusr/GRiD/apps/pointcloud/fixtures/20100515_152839.atm4bT2.qi

```

And the stacktrace:

```none
(gdb) backtrace
#0 0x0000003dafe32a45 in raise () from /lib64/libc.so.6
#1 0x0000003dafe34225 in abort () from /lib64/libc.so.6
#2 0x0000003dbc6bea7d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib64/libstdc++.so.6
#3 0x0000003dbc6bcc06 in ?? () from /usr/lib64/libstdc++.so.6
#4 0x0000003dbc6bcc33 in std::terminate() () from /usr/lib64/libstdc++.so.6
#5 0x0000003dbc6bcd2e in __cxa_throw () from /usr/lib64/libstdc++.so.6
#6 0x0000000000415b38 in void boost::throw_exception(boost::bad_lexical_cast const&) ()
#7 0x00007ffff7d12baf in signed char pdal::PointBuffer::getField(pdal::Dimension const&, unsigned long) const ()
from /home/gridusr/local/lib/libpdal.so.0
#8 0x00007ffff7d58c16 in pdal::drivers::las::Writer::writeBuffer(pdal::PointBuffer const&) () from /home/gridusr/local/lib/libpdal.so.0
#9 0x00007ffff7d2db28 in pdal::Writer::write(unsigned long) () from /home/gridusr/local/lib/libpdal.so.0
#10 0x000000000040e55f in PcPipeline::execute() ()
#11 0x0000000000411bb7 in Application::innerRun() ()
#12 0x00000000004120f8 in Application::run() ()
#13 0x000000000040ecf9 in main ()
```