[pdal] SegFault with p2g pipeline
pete.gadomski at gmail.com
pete.gadomski at gmail.com
Fri Feb 6 17:08:25 PST 2015
Hello Matthew,
I can't reproduce your results from the information provided. A PDAL+points2grid run works a-ok on my local system.
Can you provide PDAL and points2grid versions? If you're on a Unix-style and have points2grid installed to /usr/local you can do:
cat /usr/local/include/points2grid/config.h | grep P2G_VERSION_STRING
For PDAL:
pdal --version
That might help track things down.
Cheers,
Pete
--
Pete GadomskiPhysical Scientist
Cold Regions Research & Engineering Lab
pete.gadomski at gmail.com
530.440.4630
On Fri, Feb 6, 2015 at 3:25 PM, Matthew Hanson
<mhanson at appliedgeosolutions.com> wrote:
> 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/d2ec9183/attachment-0001.html>
More information about the pdal
mailing list