<span id="mailbox-conversation"><div>Could be. I'd be happy to take a look locally to verify and track down the segfault if you're able to provide the input file.</div>
<div><br></div>
<div>-Pete</div></span><div class="mailbox_signature">
<br>-- <br>Pete Gadomski<div>Physical Scientist</div>
<div>Cold Regions Research & Engineering Lab</div>
<div>pete.gadomski@gmail.com</div>
<div>530.440.4630</div>
</div>
<br><br><div class="gmail_quote"><p>On Mon, Feb 9, 2015 at 10:51 AM, Matthew Hanson <span dir="ltr"><<a href="mailto:mhanson@appliedgeosolutions.com" target="_blank">mhanson@appliedgeosolutions.com</a>></span> wrote:<br></p><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>
<div dir="ltr">I'm working off the PDAL master branch, and a fresh clone of p2g.<div><br></div>
<div>#define P2G_VERSION_STRING 1.3.0<br></div>
<div><br></div>
<div>pdal (PDAL 1.0.0.b1 (1634fc) with GeoTIFF 1.4.0 GDAL 1.11.0 LASzip 2.2.0)<br></div>
<div><br></div>
<div><br></div>
<div>Perhaps it's a problem with my input file?</div>
<div><br></div>
<div><br></div>
<div><br></div>
</div>
<div class="gmail_extra">
<br clear="all"><div><div class="gmail_signature"><div dir="ltr">Matthew Hanson<div>Applied GeoSolutions</div>
<div>(603) 659-3363 x91</div>
<div><a href="http://appliedgeosolutions.com">http://appliedgeosolutions.com</a></div>
<div><a href="mailto:mhanson@appliedgeosolutions.com">mhanson@appliedgeosolutions.com</a></div>
<div><br></div>
</div></div></div>
<br><div class="gmail_quote">On Fri, Feb 6, 2015 at 8:08 PM, <span dir="ltr"><<a href="mailto:pete.gadomski@gmail.com">pete.gadomski@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span><div>Hello Matthew,</div>
<div><br></div>
<div>I can't reproduce your results from the information provided. A PDAL+points2grid run works a-ok on my local system.</div>
<div><br></div>
<div>Can you provide PDAL and points2grid versions? If you're on a Unix-style and have points2grid installed to /usr/local you can do:</div>
<div><br></div>
<div> cat /usr/local/include/points2grid/config.h | grep P2G_VERSION_STRING</div>
<div><br></div>
<div>For PDAL:</div>
<div><br></div>
<div> pdal --version</div>
<div><br></div>
<div>That might help track things down.</div>
<div><br></div>
<div>Cheers,</div>
<div>Pete</div></span><span class="HOEnZb"><font color="#888888"><div>
<br>-- <br>Pete Gadomski<div>Physical Scientist</div>
<div>Cold Regions Research & Engineering Lab</div>
<div><a href="mailto:pete.gadomski@gmail.com">pete.gadomski@gmail.com</a></div>
<div><a href="tel:530.440.4630">530.440.4630</a></div>
</div></font></span><div class="HOEnZb"><div class="h5">
<br><br><div class="gmail_quote">
<p>On Fri, Feb 6, 2015 at 3:25 PM, Matthew Hanson <span dir="ltr"><<a href="mailto:mhanson@appliedgeosolutions.com">mhanson@appliedgeosolutions.com</a>></span> wrote:<br></p>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr">Hello,<div><br></div>
<div>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:</div>
<div>#####################################</div>
<div>
<div><?xml version="1.0" encoding="utf-8"?></div>
<div><Pipeline version="1.0"></div>
<div> <Writer type="writers.p2g"></div>
<div> <Option name="grid_dist_x"></div>
<div> 1.0</div>
<div> </Option></div>
<div> <Option name="grid_dist_y"></div>
<div> 1.0</div>
<div> </Option></div>
<div> <Option name="radius"></div>
<div> 3.0</div>
<div> </Option></div>
<div> <Option name="filename"></div>
<div> p2g-test</div>
<div> </Options></div>
<div> <Option name="output_type"></div>
<div> den</div>
<div> </Option></div>
<div> <Option name="output_format"></div>
<div> tif </div>
<div> </Option></div>
<div> <Reader type="readers.las"></div>
<div> <Option name="filename"></div>
<div> input.las</div>
<div> </Option></div>
<div> </Reader></div>
<div> </Writer></div>
<div></Pipeline></div>
</div>
<div>#####################################<br></div>
<div><br></div>
<div>Unfortunately I get a segfault in the output:</div>
<div>#####################################<br></div>
<div>
<div>(writers.p2g Debug: 3): X grid size: 522</div>
<div>(writers.p2g Debug: 3): Y grid size: 495</div>
<div>(writers.p2g Debug: 3): X grid distance: 1.000000</div>
<div>(writers.p2g Debug: 3): Y grid distance: 1.000000</div>
<div>numFiles 1</div>
<div>[0,494]</div>
<div>[0,494]</div>
<div>0. file size: 18604080</div>
<div>0: from 0 to 258390</div>
<div>0: from 0 to 495</div>
<div>Merging 0: from 0 to 495</div>
<div> 0: from 0 to 0</div>
<div>Merging 0: from 0 to 495</div>
<div> 0: from 0 to 0</div>
<div>Output Execution time: 0.014058</div>
<div>Segmentation fault (core dumped)</div>
<div><br></div>
<div>real<span style="white-space:pre-wrap"> </span>0m8.603s</div>
<div>user<span style="white-space:pre-wrap"> </span>0m7.747s</div>
<div>sys<span style="white-space:pre-wrap"> </span>0m0.619s</div>
</div>
<div>#####################################<br></div>
<div><br></div>
<div>Any clues on what could be going wrong?</div>
<div>
<br>Thanks in advance!</div>
<div><br></div>
<div><br></div>
<div><div>
<div><div><div dir="ltr">Matthew Hanson<div>Applied GeoSolutions</div>
<div><a href="tel:%28603%29%20659-3363%20x91">(603) 659-3363 x91</a></div>
<div><a href="http://appliedgeosolutions.com">http://appliedgeosolutions.com</a></div>
<div><a href="mailto:mhanson@appliedgeosolutions.com">mhanson@appliedgeosolutions.com</a></div>
<div><br></div>
</div></div></div>
</div></div>
</div></div></blockquote>
</div>
<br></div></div>
</blockquote>
</div>
<br></div>
</div></blockquote></div><br>