<div dir="ltr">Cool. I'll take a look.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 2, 2016 at 2:06 PM, Bradley Chambers <span dir="ltr"><<a href="mailto:brad.chambers@gmail.com" target="_blank">brad.chambers@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">I'd recommend taking a look at the range filter for more generic dimensional filtering. PCL, and the PCLBlock filter in particular, lock us into predefined point types, where height isn't accounted for. I can send a more concrete example later this afternoon.</p>
<p dir="ltr">Brad</p>
<br><div class="gmail_quote"><div><div class="h5"><div dir="ltr">On Tue, Feb 2, 2016, 11:02 Stephen Mather <<a href="mailto:stephen@smathermather.com" target="_blank">stephen@smathermather.com</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>I am wondering if PCL filters in PDAL can be used on alternate dimensions? In my case, Height (above ground) as calculated with the height filter is the dimension in question.<br><br></div>This is my passthrough JSON:<br><div><div><div><div><br>```<br>{<br>    "pipeline":<br>    {<br>        "name": "PassThroughExample",<br>        "filters":<br>        [<br>            {<br>                "name": "PassThrough",<br>                "setFilterFieldName": "Height",<br>                "setFilterLimits":<br>                {<br>                    "min": 0.5,<br>                    "max": 5<br>                }<br>            }<br>        ]<br>    }<br>}<br>```<br><br></div><div>And I am running in docker. Here's my crude and confused BASH wrapper script to which I pass all files matching a find:<br><br>```<br></div><div>#!/bin/bash<br></div><div>pathname="${1%/*}"<br>name=`basename $1 .bpf`<br><br>docker run -v $pathname:/data pdal/master pdal pcl -i //data/"$name".bpf -p //data/5.0.filter.json -o //data/"$name"_5.0.bpf;<br>```<br></div><div>This will work of course if my setFilterFieldName is Z, but not Height (no matter the capitalization.<br><br></div><div>Thanks in advance,<br></div><div>Best,<br></div><div>Steve<br></div></div></div></div></div></div></div>
_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" target="_blank">pdal@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/pdal</a></blockquote></div>
</blockquote></div><br></div>