<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jun 12, 2019, at 9:36 AM, Karl North <<a href="mailto:karln@surdex.com" class="">karln@surdex.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Brad:<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Thanks for the suggestions.<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">I’ve done some reading and begun playing around with the cluster filter.  One problem is that I’m new enough to PDAL that I cannot find a way to add/define a dimension and store the cluster ID into either LAS or LAZ format on output.  I think it should be possible to just hijack an existing field in the point data records for current testing purposes.  Does this sound possible?  I’m floundering a bit trying to find an example of something similar.  Can you point me in the right direction?</div></div></div></blockquote><div><br class=""></div><div>Use the filters.ferry to copy ClusterID => PointSourceId downstream of your filters.cluster invocation.</div><div><br class=""></div><div><a href="https://pdal.io/stages/filters.ferry.html" class="">https://pdal.io/stages/filters.ferry.html</a></div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 11pt;" class="">I can get a BPF output, but currently have no way to review the result.  I’m now downloading 64-bit QT Reader, after finding a thread by HoBu saying that this viewer would work for a quick review.</span></div></div></blockquote><div><br class=""></div><div>I don't know if that is still viable.</div><div><br class=""></div><div>You can also write to LAS with extra bytes</div><div><br class=""></div><div>--writers.las.extra_dims=ClusterID</div><div><br class=""></div><div>but you'll need something that can view extra LAS dimensions. </div><br class=""></div><div><br class=""></div><div>Howard</div><br class=""></body></html>