<div dir="ltr"><div><div><div><div><div><div><div><div>Andrew,<br><br></div>I was busy using PDAL for batch exporting, so I just got back to this now. I see my mistake- that should be '0.50'. I hadn't noticed it before because PDAL didn't throw an error. However, when I make that the LAST assignment, I get the same error. So this:<br></div><br><span style="font-family:monospace,monospace">    {<br>      "type":"filters.assign",<br>      "assignment":"Classification[:]=0",<br>      "assignment":"Window[:]=12",<br>      <span style="background-color:rgb(255,255,0)">"assignment":"Slope[:]=0_50"</span><br>    },</span><br><br></div>returns this:<br><br><span style="font-family:monospace,monospace">PDAL: filters.assign: Invalid value for argument 'assignment'.</span><br><br></div>As I said before, my PDAL instance must be skipping all but the last assignment, so it didn't throw an error until I made it the last assignment. Even in the instance above, the Classification and Window assignments are not made.<br><br></div>Even when I strip out everything but the reader, writer, filter and assign stages (as below), PDAL still ignores the Slope value error and fails to assign all but the Red value. I am using PDAL 1.7.1. This isn't an impediment to my workflow, as I got around it using multiple stages with single assignments. <br><br></div>Thanks for your help!<br><br></div>Regards,<br></div>Eric<br><div><div><div><div><div><div><div><div><span style="font-family:monospace,monospace"><br>{<br>  "pipeline":<br>  [<br>    {<br>      "filename":"C:/data/forest_park/forest_park_orig_dtm.laz",<br>      "type":"readers.las",<br>      "count":100000<br>    },<br>    {<br>      "type":"filters.ferry",<br>      "dimensions":"=>Window, =>Slope"<br>    },<br>    {<br>      "type":"filters.assign",<br>      "assignment":"Classification[:]=0",<br>      "assignment":"Window[:]=12",<br>      "assignment":"Slope[:]=0_50",<br>      "assignment":"GpsTime[:]=3000",<br>      "assignment":"Red[:]=255"<br>    },<br>    {<br>      "type":"writers.las",<br>      "minor_version":"4",<br>      "compression":"true",<br>      "extra_dims":"Window=uint8, Slope=float",<br>      "filename":"c:/data/forest_park/filters_assign_test.laz"<br>    }<br>  ]<br>}</span><br><div><br></div></div></div></div></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 16, 2018 at 9:20 AM, Andrew Bell <span dir="ltr"><<a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Eric,<div><br></div><div>I can't recreate the issue with the assignment problems.  I'm a little suspicious of your test because you should get an error with the following</div><div>assignments:</div><span class=""><div><br></div><div><span style="color:rgb(34,34,34);font-family:monospace,monospace;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,0);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">      "assignment":"Classification[:</span><span style="color:rgb(34,34,34);font-family:monospace,monospace;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,0);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><wbr>]=0",</span><br style="color:rgb(34,34,34);font-family:monospace,monospace;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgb(34,34,34);font-family:monospace,monospace;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,0);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">      "assignment":"Window[:]=12",</span><br style="color:rgb(34,34,34);font-family:monospace,monospace;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgb(34,34,34);font-family:monospace,monospace;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,0);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">      "assignment":"Slope[:]=0_50",</span><br style="color:rgb(34,34,34);font-family:monospace,monospace;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgb(34,34,34);font-family:monospace,monospace;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,0);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">      "assignment":"GpsTime[:]=3000"</span><span style="color:rgb(34,34,34);font-family:monospace,monospace;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,0);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><wbr>,</span><br style="color:rgb(34,34,34);font-family:monospace,monospace;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgb(34,34,34);font-family:monospace,monospace;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,0);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">      "assignment":"Red[:]=255"</span><br></div><div><span style="color:rgb(34,34,34);font-family:monospace,monospace;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,0);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div></span>That's because "0_50" isn't a valid value to assign for Slope.  When I run a pipeline with a similar construct, I get:<div><br></div><div><span style="text-align:start;text-indent:0px;background-color:rgb(255,255,0);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><div>$ bin/pdal pipeline test.json</div><div>PDAL: filters.assign: Invalid value for argument 'assignment'.</div><div><br></div><div>Please try to reproduce your issue using a pipeline with limited stages.</div><div><br></div></span></div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Sat, Apr 14, 2018 at 9:50 PM, Andrew Bell <span dir="ltr"><<a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">A change that was made to filters.ferry for version 1.7 broke dimension creation. I'll fix shortly.</div><div class="m_1358660376548064617HOEnZb"><div class="m_1358660376548064617h5"><br><div class="gmail_quote"><div dir="ltr">On Sat, Apr 14, 2018, 9:34 PM Howard Butler <<a href="mailto:howard@hobu.co" target="_blank">howard@hobu.co</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
> On Apr 14, 2018, at 8:15 PM, Eric Robeck <<a href="mailto:erobeck@gmail.com" rel="noreferrer" target="_blank">erobeck@gmail.com</a>> wrote:<br>
> <br>
> Thanks, everyone! I'll get back to work and stop spamming your inboxes.<br>
<br>
On the contrary, keep it up. Your documentation of your learning journey with the tools is helping us find sticky spots that we can document, illustrate, and patch to make them work better. <br>
<br>
If you’re spamming us, we will let you know (privately). <br>
<br>
Howard<br>
<br>
______________________________<wbr>_________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" rel="noreferrer" target="_blank">pdal@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/pdal</a></blockquote></div></div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_1358660376548064617gmail_signature" data-smartmail="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div>
</font></span></div>
</blockquote></div><br></div>