[pdal] SegFault with p2g pipeline

Matthew Hanson mhanson at appliedgeosolutions.com
Fri Feb 6 13:24:55 PST 2015


Hello,

I'm currently trying to generate a tif file from a simple test las file.
For now I'm just trying to spit out a tif of point density:
#####################################
<?xml version="1.0" encoding="utf-8"?>
<Pipeline version="1.0">
  <Writer type="writers.p2g">
    <Option name="grid_dist_x">
      1.0
    </Option>
    <Option name="grid_dist_y">
      1.0
    </Option>
    <Option name="radius">
      3.0
    </Option>
    <Option name="filename">
      p2g-test
    </Options>
    <Option name="output_type">
      den
    </Option>
    <Option name="output_format">
      tif
    </Option>
        <Reader type="readers.las">
          <Option name="filename">
            input.las
          </Option>
        </Reader>
  </Writer>
</Pipeline>
#####################################

Unfortunately I get a segfault in the output:
#####################################
(writers.p2g Debug: 3): X grid size: 522
(writers.p2g Debug: 3): Y grid size: 495
(writers.p2g Debug: 3): X grid distance: 1.000000
(writers.p2g Debug: 3): Y grid distance: 1.000000
numFiles 1
[0,494]
[0,494]
0. file size: 18604080
0: from 0 to 258390
0: from 0 to 495
Merging 0: from 0 to 495
        0: from 0 to 0
Merging 0: from 0 to 495
        0: from 0 to 0
Output Execution time: 0.014058
Segmentation fault (core dumped)

real 0m8.603s
user 0m7.747s
sys 0m0.619s
#####################################

Any clues on what could be going wrong?

Thanks in advance!


Matthew Hanson
Applied GeoSolutions
(603) 659-3363 x91
http://appliedgeosolutions.com
mhanson at appliedgeosolutions.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20150206/99668381/attachment.html>


More information about the pdal mailing list